Use correct format specifiers.

Used http://www.cplusplus.com/reference/cstdio/printf/ as a reference.
This commit is contained in:
Pappy Van Winkle
2018-10-11 22:52:04 -05:00
parent af2575da5b
commit 121fa84081
9 changed files with 22 additions and 22 deletions

View File

@ -424,7 +424,7 @@ int Trick::VariableServerThread::transmit_file(std::string sie_file) {
fseek(fp , 0L, SEEK_END) ;
file_size = ftell(fp) ;
sprintf(buffer, "%d\t%d\n" , VS_SIE_RESOURCE, file_size) ;
sprintf(buffer, "%d\t%u\n" , VS_SIE_RESOURCE, file_size) ;
tc_write(&connection , buffer , strlen(buffer)) ;
rewind(fp) ;