diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-23 20:57:20 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-23 20:57:20 +0000 |
commit | 5e25c1061c9ad6518186cc1fcfffc18d3668720d (patch) | |
tree | 5594f652196511210435732c3ece6190ee14391d | |
parent | 267b2d15fd7b4d568e447734aee337ae24fae982 (diff) |
- avoid warning about cast from pointer to integer of different size
-rw-r--r-- | libc/stdio/_scanf.c | 2 |
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; } |