diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2004-11-25 21:19:11 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2004-11-25 21:19:11 +0000 |
commit | 50986a34f231fbc7a4b62466bd89bd4ae4027d2e (patch) | |
tree | 99344977192a8fc0820713b562c704016da6554e /src/misc.c | |
parent | a983dafac59dcb425666a5a5556da4734e50c6c5 (diff) | |
download | xorg-lib-libXpm-50986a34f231fbc7a4b62466bd89bd4ae4027d2e.tar.gz |
Fixes for CAN-2004-0914 (Thomas Biege).
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ xpmstrdup(s1) char *s1; { char *s2; - int l = strlen(s1) + 1; + size_t l = strlen(s1) + 1; if (s2 = (char *) XpmMalloc(l)) strcpy(s2, s1); |