From 2615f174a54063e650e5baee0c96d536c2815f45 Mon Sep 17 00:00:00 2001 From: Matlo Date: Tue, 3 Nov 2015 08:26:08 +0100 Subject: [PATCH] Fix compilation warning. --- shared/async/src/windows/async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/async/src/windows/async.c b/shared/async/src/windows/async.c index c2fb6128..c020a148 100644 --- a/shared/async/src/windows/async.c +++ b/shared/async/src/windows/async.c @@ -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;