updated to libopts 5.18.2

This commit is contained in:
Nikos Mavrogiannopoulos
2013-11-05 23:30:19 +01:00
parent aaf03d537e
commit fe1c948bcf
20 changed files with 212 additions and 194 deletions
+2 -2
View File
@@ -243,7 +243,7 @@ strequate(char const* s)
if ((s != NULL) && (*s != NUL)) {
unsigned char equiv = (unsigned char)*s;
while (*s != NUL)
charmap[ (unsigned)*(s++) ] = equiv;
charmap[(unsigned char)*(s++)] = equiv;
}
}
@@ -270,7 +270,7 @@ void
strtransform(char* d, char const* s)
{
do {
*(d++) = (char)charmap[ (unsigned)*s ];
*(d++) = (char)charmap[(unsigned char)*s];
} while (*(s++) != NUL);
}