diff options
| author | onelin <oscar@nelin.dk> | 2025-03-20 19:46:52 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-03-20 19:46:52 +0000 |
| commit | a44692ef4c0ac49f4b6330a1f53a7f26fb38b864 (patch) | |
| tree | 75d57ef5bcb7acbc9256947eea54287c73d12ee5 /src/resources | |
| parent | c9728b92149943f1422283ebf9e8e3eef71a13e1 (diff) | |
Fix some warnings
Diffstat (limited to 'src/resources')
| -rw-r--r-- | src/resources/src/model.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/src/model.c b/src/resources/src/model.c index 65bb614..7244e63 100644 --- a/src/resources/src/model.c +++ b/src/resources/src/model.c @@ -30,7 +30,7 @@ Model load_model(const Asset_ModelSpec *restrict ms) { ERROR("Failed to load file " TERM_COLOR_YELLOW "%s" TERM_COLOR_RESET, ms->path); return (Model){.format = format}; } - const isize filesz = f_get_sz(f); + const usize filesz = f_get_sz(f); char* filecontets = calloc(filesz, sizeof(char)); fread(filecontets, sizeof(char), filesz, f); |
