mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
TestsUser/DiskImage: Return long for file size.
This commit is contained in:
parent
6aad861edf
commit
948c29973b
@ -12,7 +12,7 @@ rm -rf DICT fuzz*.log ; mkdir DICT ; UBSAN_OPTIONS='halt_on_error=1' ./DiskImage
|
||||
|
||||
**/
|
||||
|
||||
uint8_t *readFile(const char *str, uint32_t *size) {
|
||||
uint8_t *readFile(const char *str, long *size) {
|
||||
FILE *f = fopen(str, "rb");
|
||||
|
||||
if (!f) return NULL;
|
||||
@ -50,7 +50,7 @@ int main (int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
uint8_t *Dmg;
|
||||
uint32_t DmgSize;
|
||||
long DmgSize;
|
||||
uint8_t *UncompDmg = NULL;
|
||||
uint32_t UncompSize;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user