@@ -117,7 +117,7 @@ static void ondisconnect(client_t client) {
117
117
transactions_count -- ;
118
118
}else {
119
119
shout (
120
- "[%d] DISCONNECT: transaction %llu "
120
+ "[%d] DISCONNECT: transaction %u "
121
121
" failed to abort O_o\n" ,
122
122
CLIENT_ID (client ),t -> xid
123
123
);
@@ -128,7 +128,7 @@ static void ondisconnect(client_t client) {
128
128
129
129
if (i < 0 ) {
130
130
shout (
131
- "[%d] DISCONNECT: transaction %llu not found O_o\n" ,
131
+ "[%d] DISCONNECT: transaction %u not found O_o\n" ,
132
132
CLIENT_ID (client ),CLIENT_XID (client )
133
133
);
134
134
}
@@ -154,7 +154,7 @@ static void debug_cmd(client_t client, int argc, xid_t *argv) {
154
154
debug ("[%d] %s" ,CLIENT_ID (client ),cmdname );
155
155
int i ;
156
156
for (i = 1 ;i < argc ;i ++ ) {
157
- debug (" %llu " ,argv [i ]);
157
+ debug (" %u " ,argv [i ]);
158
158
}
159
159
debug ("\n" );
160
160
}
@@ -209,14 +209,14 @@ static void onreserve(client_t client, int argc, xid_t *argv) {
209
209
xid_t maxxid = minxid + minsize - 1 ;
210
210
211
211
debug (
212
- "[%d] RESERVE: asked for range %llu-%llu \n" ,
212
+ "[%d] RESERVE: asked for range %u-%u \n" ,
213
213
CLIENT_ID (client ),
214
214
minxid ,maxxid
215
215
);
216
216
217
217
if ((prev_gxid >=minxid )|| (maxxid >=next_gxid )) {
218
218
debug (
219
- "[%d] RESERVE: local range %llu-%llu is not between global range %llu-%llu \n" ,
219
+ "[%d] RESERVE: local range %u-%u is not between global range %u-%u \n" ,
220
220
CLIENT_ID (client ),
221
221
minxid ,maxxid ,
222
222
prev_gxid ,next_gxid
@@ -227,7 +227,7 @@ static void onreserve(client_t client, int argc, xid_t *argv) {
227
227
next_gxid = maxxid + 1 ;
228
228
}
229
229
debug (
230
- "[%d] RESERVE: allocating range %llu-%llu \n" ,
230
+ "[%d] RESERVE: allocating range %u-%u \n" ,
231
231
CLIENT_ID (client ),
232
232
minxid ,maxxid
233
233
);
@@ -289,7 +289,7 @@ static void onbegin(client_t client, int argc, xid_t *argv) {
289
289
290
290
if (!clog_write (clg ,t -> xid ,DOUBT )) {
291
291
shout (
292
- "[%d] BEGIN: transaction %llu failed"
292
+ "[%d] BEGIN: transaction %u failed"
293
293
" to initialize clog bits O_o\n" ,
294
294
CLIENT_ID (client ),t -> xid
295
295
);
@@ -335,7 +335,7 @@ static bool queue_for_transaction_finish(client_t client, xid_t xid, char cmd) {
335
335
Transaction * t = find_transaction (xid );
336
336
if (t == NULL ) {
337
337
shout (
338
- "[%d] QUEUE: xid %llu not found\n" ,
338
+ "[%d] QUEUE: xid %u not found\n" ,
339
339
CLIENT_ID (client ),xid
340
340
);
341
341
client_message_shortcut (client ,RES_FAILED );
@@ -366,7 +366,7 @@ static void onvote(client_t client, int argc, xid_t *argv, int vote) {
366
366
Transaction * t = find_transaction (xid );
367
367
if (t == NULL ) {
368
368
shout (
369
- "[%d] VOTE: xid %llu not found\n" ,
369
+ "[%d] VOTE: xid %u not found\n" ,
370
370
CLIENT_ID (client ),xid
371
371
);
372
372
client_message_shortcut (client ,RES_FAILED );
@@ -441,7 +441,7 @@ static void onsnapshot(client_t client, int argc, xid_t *argv) {
441
441
Transaction * t = find_transaction (xid );
442
442
if (t == NULL ) {
443
443
shout (
444
- "[%d] SNAPSHOT: xid %llu not found\n" ,
444
+ "[%d] SNAPSHOT: xid %u not found\n" ,
445
445
CLIENT_ID (client ),xid
446
446
);
447
447
client_message_shortcut (client ,RES_FAILED );
@@ -529,7 +529,7 @@ static void onstatus(client_t client, int argc, xid_t *argv) {
529
529
530
530
static void onnoise (client_t client ,int argc ,xid_t * argv ) {
531
531
shout (
532
- "[%d] NOISE: unknown command '%c' (%lld )\n" ,
532
+ "[%d] NOISE: unknown command '%c' (%d )\n" ,
533
533
CLIENT_ID (client ),
534
534
(char )argv [0 ],argv [0 ]
535
535
);