mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
unbreak kernel builds on sparc64 and powerpc after r324163, ZFS Channel Programs
The custom iscntrl() in ZFS Lua code expects a signed argumnet, so remove the harmful cast. Reported by: ian MFC after: 5 weeks X-MFC with: r324163
This commit is contained in:
parent
0e73a61997
commit
6a2f82bdf8
1 changed files with 1 additions and 1 deletions
|
|
@ -867,7 +867,7 @@ static void addquoted (lua_State *L, luaL_Buffer *b, int arg) {
|
|||
luaL_addchar(b, '\\');
|
||||
luaL_addchar(b, *s);
|
||||
}
|
||||
else if (*s == '\0' || iscntrl(uchar(*s))) {
|
||||
else if (*s == '\0' || iscntrl(*s)) {
|
||||
char buff[10];
|
||||
if (!isdigit(uchar(*(s+1))))
|
||||
sprintf(buff, "\\%d", (int)uchar(*s));
|
||||
|
|
|
|||
Loading…
Reference in a new issue