sheredom / utf8.h

📚 single header utf8 string functions for C and C++
The Unlicense
1.74k stars 127 forks source link

change int to long #11

Closed sheredom closed 8 years ago

sheredom commented 8 years ago

utf8chr used int for the chr, but github user fluks pointed out that int could be 16 bits. Long is guaranteed to be at least 32 bits, so its safe to use that in this instance.