summaryrefslogtreecommitdiff
path: root/include/stringmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stringmgr.h')
-rw-r--r--include/stringmgr.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/stringmgr.h b/include/stringmgr.h
index fe2eb5e..c7f67f2 100644
--- a/include/stringmgr.h
+++ b/include/stringmgr.h
@@ -1,10 +1,11 @@
/******************************************************************************
- * stringmgr.h - A class which provides string handling functions which can
- * be reimplemented by frontends
*
- * $Id: stringmgr.h 2098 2007-10-07 18:57:07Z scribe $
+ * stringmgr.h - A class which provides string handling functions which
+ * can be reimplemented by frontends
*
- * Copyright 2005 CrossWire Bible Society (http://www.crosswire.org)
+ * $Id: stringmgr.h 2833 2013-06-29 06:40:28Z chrislit $
+ *
+ * Copyright 2004-2013 CrossWire Bible Society (http://www.crosswire.org)
* CrossWire Bible Society
* P. O. Box 2528
* Tempe, AZ 85280-2528
@@ -108,7 +109,7 @@ inline char *toupperstr_utf8(char *t, unsigned int max = 0) {
inline SWBuf &toupperstr(SWBuf &b) {
char *utf8 = 0;
stdstr(&utf8, b.c_str(), 2);
- toupperstr(utf8, strlen(utf8)*2);
+ toupperstr(utf8, (unsigned int)strlen(utf8)*2);
b = utf8;
delete [] utf8;
return b;