Browse Source
* run.c (main): Explicitly cast malloc() parameter. This is needed because for certain builds the size field being given to malloc() is actually 64bits long, and without a cast or malloc prototype the resulting value used by malloc() depended on the host endianness, and how long long paramaters are passed into functions.gdb-4_18-branch
2 changed files with 20 additions and 7 deletions
Loading…
Reference in new issue