10000 Fix signature and definition of utoa to match name. From Arduino. · RedBearLab/nRF51822-Arduino@1510d57 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1510d57

Browse files
author
jixing.zou
committed
Fix signature and definition of utoa to match name. From Arduino.
1 parent 5a6d2d4 commit 1510d57

File tree

2 files changed

+2
-2
lines changed
  • arduino-1.6.x/hardware/RBL/RBL_nRF51822/cores/RBL_nRF51822

2 files changed

+2
-2
lines changed

arduino-1.6.x/hardware/RBL/RBL_nRF51822/cores/RBL_nRF51822/itoa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ extern char* ltoa( long value, char *string, int radix )
121121
return string;
122122
}
123123

124-
extern char* utoa( unsigned long value, char *string, int radix )
124+
extern char* utoa( unsigned int value, char *string, int radix )
125125
{
126126
return ultoa( value, string, radix ) ;
127127
}

arduino-1.6.x/hardware/RBL/RBL_nRF51822/cores/RBL_nRF51822/itoa.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern void itoa( int n, char s[] ) ;
3232

3333
extern char* itoa( int value, char *string, int radix ) ;
3434
extern char* ltoa( long value, char *string, int radix ) ;
35-
extern char* utoa( unsigned long value, char *string, int radix ) ;
35+
extern char* utoa( unsigned int value, char *string, int radix ) ;
3636
extern char* ultoa( unsigned long value, char *string, int radix ) ;
3737 3E7D
#endif /* 0 */
3838

0 commit comments

Comments
 (0)
0