]> sigrok.org Git - libserialport.git/commit
windows: Fix a warning on conversion to unsigned int.
authorMartin Ling <redacted>
Fri, 24 Jan 2020 05:03:49 +0000 (05:03 +0000)
committerUwe Hermann <redacted>
Sun, 26 Jan 2020 20:11:46 +0000 (21:11 +0100)
commit41fc921ce47672ffc297c894c83e8469cfed6d3e
tree63ff104cb1adc68d3d24f81749716e561aee4e33
parent528e8c0002cf71b6f00602022dacd4996a213522
windows: Fix a warning on conversion to unsigned int.

The result should be safe because we only use this function on time
differences as part of timeout calculations, not on absolute times.

Add an explicit cast to suppress the warning.
timing.c