Fix several build warnings/error encountered with VS2013
This also fixes the newlines for spirv.hpp to be consistent with the rest of the files.
This commit is contained in:
parent
e23c9849c2
commit
364c21c8c0
4 changed files with 881 additions and 881 deletions
|
|
@ -309,7 +309,7 @@ struct str_hash
|
|||
unsigned long hash = 5381;
|
||||
int c;
|
||||
|
||||
while ((c = *str++))
|
||||
while ((c = *str++) != 0)
|
||||
hash = ((hash << 5) + hash) + c;
|
||||
|
||||
return hash;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue