summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-09-01 21:53:57 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-09-01 21:53:57 (GMT)
commitf57420248f65fae9bc0d44849925f8ac5e20ec7f (patch)
tree535b2875ace9228d49d4272dec23a94c1facf672 /src
parenta820f204162f61e3e7a91e66c1aabea22f23d0cb (diff)
Fixed a compilation warning.
Diffstat (limited to 'src')
-rw-r--r--src/gui/dialogs/about.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/about.c b/src/gui/dialogs/about.c
index e244093..987b5aa 100644
--- a/src/gui/dialogs/about.c
+++ b/src/gui/dialogs/about.c
@@ -115,7 +115,7 @@ GtkWidget *create_about_dialog(GtkWindow *parent)
{
level = pow(10, max - i);
- snprintf(buffer, 16, "revision_%u.png", revision / level);
+ snprintf(buffer, 16, "revision_%hhu.png", revision / level);
filename = find_pixmap_file(buffer);
image = qck_create_image(NULL, NULL, filename);