summaryrefslogtreecommitdiffstats
path: root/games/number
diff options
context:
space:
mode:
Diffstat (limited to 'games/number')
-rw-r--r--games/number/number.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/number/number.c b/games/number/number.c
index f3d6a10..715de8a 100644
--- a/games/number/number.c
+++ b/games/number/number.c
@@ -133,7 +133,7 @@ convert(line)
int flen, len, rval;
char *p, *fraction;
- flen = NULL;
+ flen = 0;
fraction = NULL;
for (p = line; *p != '\0' && *p != '\n'; ++p) {
if (isblank(*p)) {
OpenPOWER on IntegriCloud