/*
* ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001-2010 Alexander Barton (alex@barton.de)
+ * Copyright (c)2001-2018 Alexander Barton (alex@barton.de) and Contributors.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
ptr = String;
while(*ptr) {
- *ptr = toupper((int)*ptr);
+ *ptr = (char)toupper(*ptr);
ptr++;
}
return String;
ptr = String;
while(*ptr) {
- *ptr = tolower((int)*ptr);
+ *ptr = (char)tolower(*ptr);
ptr++;
}
return String;