]> granicus.if.org Git - nethack/commitdiff
follow-up bit in utf8map.c
authornhmall <nhmall@nethack.org>
Mon, 9 May 2022 11:46:54 +0000 (07:46 -0400)
committernhmall <nhmall@nethack.org>
Mon, 9 May 2022 11:46:54 +0000 (07:46 -0400)
src/utf8map.c

index f6394b23ce0a71b42923f61673eba0e8c8d5a212..fba35b5b90cb56f13b084dc241412e1dd55fd912 100644 (file)
@@ -139,7 +139,7 @@ rgbstr_to_int32(const char *rgbstr)
 {
     int r, gn, b, milestone = 0;
     char *cp, *c_r,*c_g,*c_b;
-    uint32_t rgb = 0L;
+    int32_t rgb = 0;
     char buf[BUFSZ];
     boolean dash = FALSE;