From fb67222a5f2fdbd7d8aee551d5652bcf1b6e3e0b Mon Sep 17 00:00:00 2001 From: croberts15 Date: Mon, 15 Feb 2016 15:31:21 -0600 Subject: [PATCH] Edit the itoa library so it is no longer different than stdlib.h Remove long from the input variable --- hardware/msp430/cores/msp430/itoa.c | 2 +- hardware/msp430/cores/msp430/itoa.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/msp430/cores/msp430/itoa.c b/hardware/msp430/cores/msp430/itoa.c index fc357660218..9fd6de39beb 100644 --- a/hardware/msp430/cores/msp430/itoa.c +++ b/hardware/msp430/cores/msp430/itoa.c @@ -121,7 +121,7 @@ extern char* ltoa( long value, char *string, int radix ) return string; } -extern char* utoa( unsigned long value, char *string, int radix ) +extern char* utoa( unsigned value, char *string, int radix ) { return ultoa( value, string, radix ) ; } diff --git a/hardware/msp430/cores/msp430/itoa.h b/hardware/msp430/cores/msp430/itoa.h index 59af109473c..d91b69b903c 100644 --- a/hardware/msp430/cores/msp430/itoa.h +++ b/hardware/msp430/cores/msp430/itoa.h @@ -31,7 +31,7 @@ extern void itoa( int n, char s[] ) ; extern char* itoa( int value, char *string, int radix ) ; extern char* ltoa( long value, char *string, int radix ) ; -extern char* utoa( unsigned long value, char *string, int radix ) ; +extern char* utoa( unsigned value, char *string, int radix ) ; extern char* ultoa( unsigned long value, char *string, int radix ) ; #endif /* 0 */