mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user