aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test9
diff options
context:
space:
mode:
authorMarcel Raad <MarcelRaad@users.noreply.github.com>2015-08-18 09:39:38 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-08-19 09:31:45 +0200
commit618dfd65e4915fbd71247a960ef15e6c281d4fec (patch)
treedafa24ad167a1a278908badc5570208ab876c92e /tests/data/test9
parent1f1f131e09d2a9cd3d5859d321a1ec9b127f0a78 (diff)
inet_pton.c: Fix MSVC run-time check failure
Visual Studio complains with a message box: "Run-Time Check Failure #1 - A cast to a smaller data type has caused a loss of data. If this was intentional, you should mask the source of the cast with the appropriate bitmask. For example: char c = (i & 0xFF); Changing the code in this way will not affect the quality of the resulting optimized code." This is because only 'val' is cast to unsigned char, so the "& 0xff" has no effect. Closes #387
Diffstat (limited to 'tests/data/test9')
0 files changed, 0 insertions, 0 deletions