summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-11-17 00:02:03 +0000
committerPeter Powell <petpow@saberuk.com>2017-11-17 15:33:01 +0000
commit36040be2952186d56a6646ee7d972aaafdd4e31a (patch)
tree72be7108a94dd6bd0ea2842c53ba8890c44d12d8 /include/inspircd.h
parent3b51dfb1d611a874c3f1138d1c1ec1bb8984334c (diff)
Fix a ton of -Wsign-conversion warnings.
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 839cccb6a..5f5493350 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -339,7 +339,7 @@ class CoreExport InspIRCd
* @param printable if false, the string will use characters 0-255; otherwise,
* it will be limited to 0x30-0x7E ('0'-'~', nonspace printable characters)
*/
- std::string GenRandomStr(int length, bool printable = true);
+ std::string GenRandomStr(unsigned int length, bool printable = true);
/** Generate a random integer.
* This is generally more secure than rand()
*/