Commit 8e653493d0b485eb96ae1191fab2b5814b209f73

Kristian Høgsberg 2010-06-30T17:31:34

Fix warning from CARD32 -> uint32_t conversion

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/keysym.c b/src/keysym.c
index f5593ff..41e7a5e 100644
--- a/src/keysym.c
+++ b/src/keysym.c
@@ -87,7 +87,7 @@ XkbcKeysymToString(uint32_t ks)
     }
 
     /* Unnamed, non-Unicode, symbol (shouldn't generally happen). */
-    sprintf(ret, "0x%08lx", ks);
+    sprintf(ret, "0x%08x", ks);
     return ret;
 }