mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-26 22:35:55 +03:00
Use %d for int variables in sprintf.
This commit is contained in:
parent
885eaad729
commit
f2f12a5629
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ static char* get_transfer_url( hbf_transfer_t *transfer, int indx ) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if( sprintf(res, "%s-chunking-%u-%u-%u", transfer->url, transfer->transfer_id,
|
||||
if( sprintf(res, "%s-chunking-%d-%d-%d", transfer->url, transfer->transfer_id,
|
||||
transfer->block_cnt, indx ) < 0 ) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue