andrewgregory / pacutils

Helper library for libalpm based programs.
MIT License
107 stars 17 forks source link

cast isspace parameters to unsigned char #47

Closed jeremyd2019 closed 3 years ago

jeremyd2019 commented 3 years ago

This is a known C pitfall, and was causing an error on MSYS2.

See for example https://wiki.sei.cmu.edu/confluence/display/c/STR37-C.+Arguments+to+character-handling+functions+must+be+representable+as+an+unsigned+char