diff options
author | Chia-I Wu <[email protected]> | 2010-05-31 11:47:58 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-05-31 13:27:41 +0800 |
commit | 1e6c10f4be9e36cc052a6b47fb2cb1eae60caa00 (patch) | |
tree | c9c14d9520bb4fce651652be3dba76342df46817 /src/egl/main/eglmisc.c | |
parent | 0d820fc203e06d5264430de7262d2c35a8ff1e75 (diff) |
egl: Use SConscript for Windows build.
Fix several portability issues and add SConscript for Windows build.
Diffstat (limited to 'src/egl/main/eglmisc.c')
-rw-r--r-- | src/egl/main/eglmisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/main/eglmisc.c b/src/egl/main/eglmisc.c index e62a9e7de8c..4652969659b 100644 --- a/src/egl/main/eglmisc.c +++ b/src/egl/main/eglmisc.c @@ -45,7 +45,7 @@ static EGLint _eglAppendExtension(char **str, const char *ext) { char *s = *str; - EGLint len = strlen(ext); + size_t len = strlen(ext); if (s) { memcpy(s, ext, len); @@ -58,7 +58,7 @@ _eglAppendExtension(char **str, const char *ext) len++; } - return len; + return (EGLint) len; } |