aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/XPM.cxx')
-rw-r--r--src/XPM.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XPM.cxx b/src/XPM.cxx
index 5758b7810..c3f66c2e4 100644
--- a/src/XPM.cxx
+++ b/src/XPM.cxx
@@ -102,7 +102,7 @@ void XPM::Init(const char * const *linesForm) {
int strings = 1+height+nColours;
lines = new char *[strings];
- int allocation = 0;
+ size_t allocation = 0;
for (int i=0; i<strings; i++) {
allocation += MeasureLength(linesForm[i]) + 1;
}