mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-03-06 10:27:13 +00:00
Fix some type derpery.
This commit is contained in:
parent
a5d0770268
commit
dddd4d4777
@ -115,7 +115,7 @@ static int rarch_main_data_http_iterate_transfer(rarch_task_t *task)
|
||||
|
||||
if (!net_http_update(http->handle, &pos, &tot))
|
||||
{
|
||||
task->progress = (tot == 0) ? -1 : (pos * 100 / tot);
|
||||
task->progress = (tot == 0) ? -1 : (signed)(pos * 100 / tot);
|
||||
/* FIXME/TODO - warning 68: integer conversion resulted in a change
|
||||
* of sign ^*/
|
||||
return -1;
|
||||
|
@ -55,7 +55,7 @@ struct rarch_task {
|
||||
char *error;
|
||||
|
||||
/* -1 = unmettered, 0-100 progress value */
|
||||
char progress;
|
||||
int8_t progress;
|
||||
char *title; /* handler can modify but will be free()d automatically if non-null */
|
||||
|
||||
/* don't touch this. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user