Skip to content
Snippets Groups Projects
Commit 37d0565d authored by Rob Swindell's avatar Rob Swindell :speech_balloon: Committed by Deucе
Browse files

Resolve newly added MSVC warning

warning C4244: 'return': conversion from 'uint64_t' to 'unsigned int',
possible loss of data
parent a19f1a4a
No related branches found
No related tags found
No related merge requests found
......@@ -1544,7 +1544,7 @@ BOOL zmodem_handle_zack(zmodem_t* zm, uint32_t min, uint32_t max)
return FALSE;
}
static unsigned new_window_size(zmodem_t* zm, time_t start, unsigned pos)
static uint64_t new_window_size(zmodem_t* zm, time_t start, unsigned pos)
{
time_t elapsed = time(NULL) - start;
if(elapsed < 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment