Mercurial > hg > freeDiameter
comparison freeDiameter/p_out.c @ 136:abd3c441780b
Fix 64 bits warnings
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Wed, 16 Dec 2009 16:51:42 +0900 |
parents | eaa5205091d4 |
children | 4679ff581d6a |
comparison
equal
deleted
inserted
replaced
135:bbb8ddba4c85 | 136:abd3c441780b |
---|---|
100 ASSERT( CHECK_PEER(peer) ); | 100 ASSERT( CHECK_PEER(peer) ); |
101 | 101 |
102 /* Set the thread name */ | 102 /* Set the thread name */ |
103 { | 103 { |
104 char buf[48]; | 104 char buf[48]; |
105 sprintf(buf, "OUT/%.*s", sizeof(buf) - 5, peer->p_hdr.info.pi_diamid); | 105 sprintf(buf, "OUT/%.*s", (int)sizeof(buf) - 5, peer->p_hdr.info.pi_diamid); |
106 fd_log_threadname ( buf ); | 106 fd_log_threadname ( buf ); |
107 } | 107 } |
108 | 108 |
109 /* Loop until cancelation */ | 109 /* Loop until cancelation */ |
110 while (1) { | 110 while (1) { |