commit | 4b6b15fcb1e9824e1d298899882a61122286e282 | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <[email protected]> | Tue Aug 26 15:57:04 2014 +0800 |
committer | Nguyen Anh Quynh <[email protected]> | Tue Aug 26 15:57:04 2014 +0800 |
tree | 4c059d79e4ba2ff5bab7285d402ca39bf53d7f44 | |
parent | 07c92ec20a031d88d4dd9d241aa4705679f43fee [diff] [blame] |
fix more MSVC warnings
diff --git a/cs.c b/cs.c index 2095280..9cc98a3 100644 --- a/cs.c +++ b/cs.c
@@ -517,7 +517,7 @@ if (handle->skipdata_setup.callback) { skipdata_bytes = handle->skipdata_setup.callback(buffer_org, size_org, - offset - offset_org, handle->skipdata_setup.user_data); + (size_t)(offset - offset_org), handle->skipdata_setup.user_data); if (skipdata_bytes > size) // remaining data is not enough break;