FixRed lua -- rb->strtol for native targets

missed this reference

Change-Id: If8d747399223e5cd33d044a274e6d1d81745ed1c
This commit is contained in:
William Wilgus 2025-12-06 21:26:27 -05:00
parent 8a773fb29f
commit 7a73ca2230

View file

@ -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;
}