]> sigrok.org Git - libserialport.git/commit
Replace some usages of int with size_t to fix overflow warnings.
authorMartin Ling <redacted>
Fri, 24 Jan 2020 03:01:23 +0000 (03:01 +0000)
committerMartin Ling <redacted>
Fri, 24 Jan 2020 05:39:16 +0000 (05:39 +0000)
commit4651adb4f6fb37dbd15d3d73ebf513bde1892b92
treeb3e6ec35edaf6d5c5b30c33a2db96c3f621a8deb
parent75f468923b9805207ce62f007f85c13444df314b
Replace some usages of int with size_t to fix overflow warnings.

On MSVC, these gave the following warning:

warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
serialport.c