summaryrefslogtreecommitdiff
path: root/inp_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'inp_str.c')
-rw-r--r--inp_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inp_str.c b/inp_str.c
index 3055a1089..aafd37aea 100644
--- a/inp_str.c
+++ b/inp_str.c
@@ -38,7 +38,7 @@ mpfr_inp_str (mpfr_ptr rop, FILE *stream, int base, mp_rnd_t rnd_mode)
size_t nread;
MPFR_CLEAR_FLAGS(rop);
- if (stream == 0)
+ if (stream == NULL)
stream = stdin;
alloc_size = 100;