mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-27 19:58:44 +00:00
Some warning and code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
70bc8167f8
commit
8f98f0b778
35 changed files with 123 additions and 102 deletions
|
@ -520,7 +520,7 @@ bool gd_dis_file(gd_globals_t* gdg, char* name, FILE* output)
|
|||
}
|
||||
|
||||
fseek(in, 0, SEEK_END);
|
||||
size = ftell(in);
|
||||
size = (int)ftell(in);
|
||||
fseek(in, 0, SEEK_SET);
|
||||
gdg->binbuf = (uint16*)malloc(size);
|
||||
fread(gdg->binbuf, 1, size, in);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue