]> granicus.if.org Git - php/commitdiff
avoid warnings
authorMarcus Boerger <helly@php.net>
Sat, 1 Feb 2003 23:38:29 +0000 (23:38 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 1 Feb 2003 23:38:29 +0000 (23:38 +0000)
ext/standard/image.c

index 9d810193f9ccca67da53c2219725a9e532e796e7..a5a5d7c53ccc0ae6cd0a75a30520b249413a45d0 100644 (file)
@@ -962,7 +962,8 @@ static int php_get_xbm(php_stream *stream, struct gfxinfo **result TSRMLS_DC)
     char fline[MAX_XBM_LINE_SIZE];
     char iname[MAX_XBM_LINE_SIZE];
     char *type;
-    int value, width = 0, height = 0;
+    int value;
+    unsigned int width = 0, height = 0;
 
        if (result) {
                *result = NULL;