mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
FixRed lua -- rb->strtol for native targets
missed this reference Change-Id: If8d747399223e5cd33d044a274e6d1d81745ed1c
This commit is contained in:
parent
8a773fb29f
commit
7a73ca2230
1 changed files with 1 additions and 2 deletions
|
|
@ -26,7 +26,6 @@
|
|||
#include "lua.h"
|
||||
#include "lib/pluginlib_actions.h"
|
||||
|
||||
extern long strtol(const char *nptr, char **endptr, int base);
|
||||
extern const char *strpbrk_n(const char *s, int smax, const char *accept);
|
||||
|
||||
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
|
||||
|
|
@ -291,7 +290,7 @@ get_digits:
|
|||
if(count)
|
||||
{
|
||||
buffer[count] = '\0';
|
||||
val = strtol(buffer, NULL, 10);
|
||||
val = rb->strtol(buffer, NULL, 10);
|
||||
*num = (neg)? -val:val;
|
||||
retn = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue