@@ -176,27 +176,27 @@ namespace sole {
176
176
auto i = 0 ;
177
177
178
178
// Include 1 byte for -, and 1 for null (ignored)
179
- snprintf (&s[i], 8 + 1 + 1 , " %08x -" , (a));
179
+ snprintf (&s[i], 8 + 1 + 1 , " %08lx -" , (a));
180
180
i += 8 + 1 ;
181
181
182
182
// Include 1 byte for -, and 1 for null (ignored)
183
- snprintf (&s[i], 4 + 1 + 1 , " %04x -" , (b >> 16 ));
183
+ snprintf (&s[i], 4 + 1 + 1 , " %04lx -" , (b >> 16 ));
184
184
i += 4 + 1 ;
185
185
186
186
// Include 1 byte for -, and 1 for null (ignored)
187
- snprintf (&s[i], 4 + 1 + 1 , " %04x -" , (b & 0xFFFF ));
187
+ snprintf (&s[i], 4 + 1 + 1 , " %04lx -" , (b & 0xFFFF ));
188
188
i += 4 + 1 ;
189
189
190
190
// Include 1 byte for -, and 1 for null (ignored)
191
- snprintf (&s[i], 4 + 1 + 1 , " %04x -" , (c >> 16 ));
191
+ snprintf (&s[i], 4 + 1 + 1 , " %04lx -" , (c >> 16 ));
192
192
i += 4 + 1 ;
193
193
194
194
// Include 1 byte for null (ignored)
195
- snprintf (&s[i], 4 + 1 , " %04x " , (c & 0xFFFF ));
195
+ snprintf (&s[i], 4 + 1 , " %04lx " , (c & 0xFFFF ));
196
196
i += 4 ;
197
197
198
198
// Include 1 byte for null (ignored)
199
- snprintf (&s[i], 8 + 1 , " %08x " , (d));
199
+ snprintf (&s[i], 8 + 1 , " %08lx " , (d));
200
200
i += 8 ;
201
201
202
202
// Strip the trailing null that snprintf adds
0 commit comments