Add a transmissioncli manpage written by deanna@sdf.lonestar.org.

Fix a warning in the gtk frontend on 64-bit platforms.
This commit is contained in:
Josh Elsasser
2006-05-29 07:50:17 +00:00
parent fec29af06e
commit edb1a2a4fa
4 changed files with 100 additions and 2 deletions

View File

@@ -293,7 +293,7 @@ send_msg(struct constate *con, const char *name, benc_val_t *val) {
/* write the bencoded data length into the first 8 bytes of the buffer */
stupid = buf[8];
snprintf(buf, 9, "%08X", used - 8);
snprintf(buf, 9, "%08X", (unsigned int)used - 8);
buf[8] = stupid;
/* send the data */