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/eglstring.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/eglstring.c')
-rw-r--r-- | src/egl/main/eglstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglstring.c b/src/egl/main/eglstring.c index ba7406158c4..e4ab19136fb 100644 --- a/src/egl/main/eglstring.c +++ b/src/egl/main/eglstring.c @@ -11,7 +11,7 @@ char * _eglstrdup(const char *s) { if (s) { - int l = strlen(s); + size_t l = strlen(s); char *s2 = malloc(l + 1); if (s2) strcpy(s2, s); |