mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
Lots of minor compat stuff while seeing if bash would build.
We're quite far from bash building, but we'll get there eventually!
This commit is contained in:
parent
e4611248c4
commit
e76312ab63
21 changed files with 172 additions and 38 deletions
|
@ -189,7 +189,7 @@ static int vsscanf(const char *buf, const char *s, va_list ap)
|
|||
for (tc = s; isdigit(*s); s++);
|
||||
strncpy (tmp, tc, s - tc);
|
||||
tmp[s - tc] = '\0';
|
||||
atob ((dword*)&width, tmp, 10);
|
||||
atob ((uint32_t*)&width, tmp, 10);
|
||||
s--;
|
||||
}
|
||||
}
|
||||
|
@ -232,7 +232,7 @@ static int vsscanf(const char *buf, const char *s, va_list ap)
|
|||
tmp[width] = '\0';
|
||||
buf += width;
|
||||
if (!noassign)
|
||||
atob(va_arg(ap, dword*), tmp, base);
|
||||
atob(va_arg(ap, uint32_t*), tmp, base);
|
||||
}
|
||||
if (!noassign)
|
||||
++count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue