diff options
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/bifrost/cmdline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panfrost/bifrost/cmdline.c b/src/panfrost/bifrost/cmdline.c index 16415bbd755..6dec34af0e5 100644 --- a/src/panfrost/bifrost/cmdline.c +++ b/src/panfrost/bifrost/cmdline.c @@ -77,11 +77,11 @@ disassemble(const char *filename) assert(fp); fseek(fp, 0, SEEK_END); - int filesize = ftell(fp); + unsigned filesize = ftell(fp); rewind(fp); unsigned char *code = malloc(filesize); - int res = fread(code, 1, filesize, fp); + unsigned res = fread(code, 1, filesize, fp); if (res != filesize) { printf("Couldn't read full file\n"); } |