Permalink
Browse files

Adding more warnings. Fixing calling convert_number_to_string recursi…

…vely
  • Loading branch information...
1 parent e7bcd1f commit e51015324891177b1607af153cfa46dda0abbbda @misham committed May 25, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +1 −1 convert_number.c
View
@@ -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
@@ -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
//

0 comments on commit e510153

Please sign in to comment.