Forráskód Böngészése

- avoid warning about cast from pointer to integer of different size

Bernhard Reutner-Fischer 17 éve
szülő
commit
5e25c1061c
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      libc/stdio/_scanf.c

+ 1 - 1
libc/stdio/_scanf.c

@@ -1826,7 +1826,7 @@ int attribute_hidden __psfs_do_numeric(psfs_t *psfs, struct scan_cookie *sc)
 				if (psfs->store) {
 					++psfs->cnt;
 					_store_inttype(psfs->cur_ptr, psfs->dataargtype,
-								   (uintmax_t) NULL);
+								   (uintmax_t)0);
 				}
 				return 0;
 			}