Fixed warning caused by wrongly formatting TraceLog

This commit is contained in:
AntoinePerrin25 2026-03-06 12:03:03 +01:00
parent dc3e711a44
commit dcd4e33426
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ bool SaveStorageValue(unsigned int position, int value)
else else
{ {
// RL_REALLOC failed // RL_REALLOC failed
TraceLog(LOG_WARNING, "FILEIO: [%s] Failed to realloc data (%u), position in bytes (%u) bigger than actual file size", STORAGE_DATA_FILE, dataSize, position*sizeof(int)); TraceLog(LOG_WARNING, "FILEIO: [%s] Failed to realloc data (%u), position in bytes (%lu) bigger than actual file size", STORAGE_DATA_FILE, dataSize, position*sizeof(int));
// We store the old size of the file // We store the old size of the file
newFileData = fileData; newFileData = fileData;

View File

@ -67,7 +67,7 @@ int main(void)
models[i] = LoadModel(voxFileNames[i]); models[i] = LoadModel(voxFileNames[i]);
double t1 = GetTime()*1000.0; double t1 = GetTime()*1000.0;
TraceLog(LOG_INFO, TextFormat("[%s] Model file loaded in %.3f ms", voxFileNames[i], t1 - t0)); TraceLog(LOG_INFO, "%s", TextFormat("[%s] Model file loaded in %.3f ms", voxFileNames[i], t1 - t0));
// Compute model translation matrix to center model on draw position (0, 0 , 0) // Compute model translation matrix to center model on draw position (0, 0 , 0)
BoundingBox bb = GetModelBoundingBox(models[i]); BoundingBox bb = GetModelBoundingBox(models[i]);