Fix the few non-portable uses of "char" (where a -1 might be relevant): All uses of char are now either "int", "unsigned char" or char arrays for storing strings. Also, went to consistent "char* foo" coding convention. (There were only a few ambiguous uses.)
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25400 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
52c351442c
commit
51cdd90fa8
15 changed files with 72 additions and 72 deletions
|
|
@ -120,7 +120,7 @@ public:
|
|||
}
|
||||
|
||||
protected:
|
||||
void append(const char *s);
|
||||
void append(const char* s);
|
||||
|
||||
void append(int count, char c);
|
||||
void append(const TPersistString& t);
|
||||
|
|
|
|||
|
|
@ -900,8 +900,8 @@ public:
|
|||
{
|
||||
const int maxSize = GlslangMaxTypeLength;
|
||||
char buf[maxSize];
|
||||
char *p = &buf[0];
|
||||
char *end = &buf[maxSize];
|
||||
char* p = &buf[0];
|
||||
char* end = &buf[maxSize];
|
||||
|
||||
if (qualifier.hasLayout()) {
|
||||
// To reduce noise, skip this if the only layout is an xfb_buffer
|
||||
|
|
|
|||
|
|
@ -9,5 +9,5 @@
|
|||
// source have to figure out how to create revision.h just to get a build
|
||||
// going. However, if it is not updated, it can be a version behind.
|
||||
|
||||
#define GLSLANG_REVISION "25351"
|
||||
#define GLSLANG_DATE "2014/02/13 12:14:33"
|
||||
#define GLSLANG_REVISION "25392"
|
||||
#define GLSLANG_DATE "2014/02/18 14:55:42"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue