summaryrefslogtreecommitdiff
path: root/libc/stdio/_scanf.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-23 20:57:20 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-23 20:57:20 +0000
commit5e25c1061c9ad6518186cc1fcfffc18d3668720d (patch)
tree5594f652196511210435732c3ece6190ee14391d /libc/stdio/_scanf.c
parent267b2d15fd7b4d568e447734aee337ae24fae982 (diff)
- avoid warning about cast from pointer to integer of different size
Diffstat (limited to 'libc/stdio/_scanf.c')
-rw-r--r--libc/stdio/_scanf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/_scanf.c b/libc/stdio/_scanf.c
index 211a8f787..927a187b5 100644
--- a/libc/stdio/_scanf.c
+++ b/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;
}