git-svn: trunk@4809
Török Edvin authored on 2009/02/18 01:07:58... | ... |
@@ -513,7 +513,7 @@ START_TEST (test_idsession_stress) |
513 | 513 |
fail_unless_fmt(send(sockd, "zIDSESSION", sizeof("zIDSESSION"), 0) == sizeof("zIDSESSION"), |
514 | 514 |
"send() failed: %s\n", strerror(errno)); |
515 | 515 |
for (i=0;i < 1024; i++) { |
516 |
- snprintf(buf, sizeof(buf), "%u", i+1); |
|
516 |
+ snprintf(buf, sizeof(buf), "%u", (unsigned)(i+1)); |
|
517 | 517 |
fail_unless(send(sockd, "zVERSION", sizeof("zVERSION"), 0) == sizeof("zVERSION"), |
518 | 518 |
"send failed: %s\n",strerror(errno)); |
519 | 519 |
data = recvpartial(sockd, &len, 1); |