tezc / sc

Common libraries and data structures for C.
BSD 3-Clause "New" or "Revised" License
2.23k stars 239 forks source link

Fix warning for sc_sock on Windows #83

Closed svladykin closed 2 years ago

svladykin commented 2 years ago

It should be u_long instead of int : https://docs.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-ioctlsocket

codecov[bot] commented 2 years ago

Codecov Report

Merging #83 (aa418d2) into master (3a251b4) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #83   +/-   ##
=======================================
  Coverage   99.81%   99.81%           
=======================================
  Files          21       21           
  Lines        2185     2185           
  Branches      382      382           
=======================================
  Hits         2181     2181           
  Partials        4        4           
Impacted Files Coverage Δ
socket/sc_sock.c 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3a251b4...aa418d2. Read the comment docs.

tezc commented 2 years ago

@svladykin Thank you very much!