Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding more warnings. Fixing calling convert_number_to_string recursi…

…vely
  • Loading branch information...
commit e51015324891177b1607af153cfa46dda0abbbda 1 parent e7bcd1f
@misham authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Makefile
  2. +1 −1  convert_number.c
View
2  Makefile
@@ -2,7 +2,7 @@
DEBUG = -g
CC = gcc
-CFLAGS = -Wall $(DEBUG) -I.
+CFLAGS = -Wall -Wextra $(DEBUG) -I.
SRC = parsing_numbers.c \
convert_number.c \
View
2  convert_number.c
@@ -79,7 +79,7 @@ convert_number_to_string( uint32_t numToConvert,
//
// Get next portion of the number
//
- char* tmp = convert_number_to_string( remainder, (mod/10), lookUpTable ) ;
+ char* tmp = convert_number_to_string( remainder, lookUpTable, (mod/10) ) ;
//
// Store all parts
//
Please sign in to comment.
Something went wrong with that request. Please try again.