https://github.com/libsdl-org/Maelstrom/commit/f2d9cbc9247c8fa2546533629cc59fc2b1b2c97f
From f2d9cbc9247c8fa2546533629cc59fc2b1b2c97f Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 4 Nov 2011 21:52:26 -0400
Subject: [PATCH] This is an int now, so use %d
---
utils/prefs.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/prefs.cpp b/utils/prefs.cpp
index 11976c90..112069bf 100644
--- a/utils/prefs.cpp
+++ b/utils/prefs.cpp
@@ -146,7 +146,7 @@ Prefs::SetNumber(const char *key, int value)
{
char buf[32];
- SDL_snprintf(buf, sizeof(buf), "%u", value);
+ SDL_snprintf(buf, sizeof(buf), "%d", value);
SetString(key, buf);
}