Skip to content
  1. Aug 19, 2015
    • Marcel Raad's avatar
      inet_pton.c: Fix MSVC run-time check failure · 618dfd65
      Marcel Raad authored
      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
      618dfd65
  2. Aug 18, 2015
  3. Aug 15, 2015
  4. Aug 14, 2015
  5. Aug 12, 2015
  6. Aug 11, 2015
  7. Aug 10, 2015
  8. Aug 09, 2015
  9. Aug 08, 2015