summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/eglstring.c')
-rw-r--r--src/egl/main/eglstring.c2
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);