From 5e25c1061c9ad6518186cc1fcfffc18d3668720d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 23 May 2008 20:57:20 +0000 Subject: - avoid warning about cast from pointer to integer of different size --- libc/stdio/_scanf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdio/_scanf.c') 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; } -- cgit v1.2.3