Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
50a40f4e
Commit
50a40f4e
authored
Aug 06, 2015
by
John Kessenich
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #51 from baldurk/size-t-int-warning-fixes
Remove unsigned/size_t downcast (warning when building on x64)
parents
0718e45c
36a78b55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Common.h
glslang/Include/Common.h
+2
-2
No files found.
glslang/Include/Common.h
View file @
50a40f4e
...
@@ -103,9 +103,9 @@ namespace std {
...
@@ -103,9 +103,9 @@ namespace std {
const
unsigned
_FNV_offset_basis
=
2166136261U
;
const
unsigned
_FNV_offset_basis
=
2166136261U
;
const
unsigned
_FNV_prime
=
16777619U
;
const
unsigned
_FNV_prime
=
16777619U
;
unsigned
_Val
=
_FNV_offset_basis
;
unsigned
_Val
=
_FNV_offset_basis
;
unsigned
_Count
=
s
.
size
();
size_t
_Count
=
s
.
size
();
const
char
*
_First
=
s
.
c_str
();
const
char
*
_First
=
s
.
c_str
();
for
(
unsigned
_Next
=
0
;
_Next
<
_Count
;
++
_Next
)
for
(
size_t
_Next
=
0
;
_Next
<
_Count
;
++
_Next
)
{
{
_Val
^=
(
unsigned
)
_First
[
_Next
];
_Val
^=
(
unsigned
)
_First
[
_Next
];
_Val
*=
_FNV_prime
;
_Val
*=
_FNV_prime
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment