Skip to content

Commit

Permalink
Fix compilation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlo committed Nov 3, 2015
1 parent 4f70f48 commit 2615f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/async/src/windows/async.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ static int write_callback(int device) {
}

if(devices[device].callback.fp_write) {
devices[device].callback.fp_write(devices[device].callback.user, ret == 0 ? dwBytesWritten : -1);
devices[device].callback.fp_write(devices[device].callback.user, ret == 0 ? (int)dwBytesWritten : -1);
}

return ret;
Expand Down

0 comments on commit 2615f17

Please sign in to comment.