News for hackers. Stuff that matters.
Re:Removing Array Duplicates by slavik81 on Friday April 12, 2019 @01:51PM (#19647239)
You need to be careful with C's tolower. It takes a signed integer, and negative values are undefined behaviour. It would be safer to cast to unsigned char before calling tolower. https://en.cppreference.com/w/cpp/string/byte/tolower

There are no comments on this comment yet.