diff options
author | nyamatongwe <devnull@localhost> | 2003-07-21 04:49:46 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-07-21 04:49:46 +0000 |
commit | ca798bc6fbd77e69ef5781d6ade963bcb7388617 (patch) | |
tree | 704d2d51e3bbfc8b4a01d420f001bd0fe0304b27 /src/XPM.cxx | |
parent | e2d87ef5c151a25e9f15abe4309f3f2a2e6ec80f (diff) | |
download | scintilla-mirror-ca798bc6fbd77e69ef5781d6ade963bcb7388617.tar.gz |
Converted some ints to size_t for 64 bit safety.
Diffstat (limited to 'src/XPM.cxx')
-rw-r--r-- | src/XPM.cxx | 2 |
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; } |