summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:24 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:24 +0000
commit5b2b384c319513d102de3e009e1816399d93b81a (patch)
treef215864d9e5c09faa8d1399349f02c724341e2de /src/misc.c
parent2773a7214e282f6f673483f5233b880505947c3f (diff)
downloadxorg-lib-libXpm-5b2b384c319513d102de3e009e1816399d93b81a.tar.gz
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 7a9ecb5..ce80d54 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -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);