Correctly handle Big Endian UCS strings on both BE and LE machines.

This commit is contained in:
Vreixo Formoso
2008-01-08 15:51:42 +01:00
parent e9bcb22cee
commit f73b53133b
2 changed files with 50 additions and 15 deletions

View File

@ -134,7 +134,7 @@ size_t ucslen(const uint16_t *str);
/**
* Like strrchr, but for Joliet strings.
*/
uint16_t *ucsrchr(const uint16_t *str, uint16_t c);
uint16_t *ucsrchr(const uint16_t *str, char c);
/**
* Like strdup, but for Joliet strings.