aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-10-05 00:35:17 +0000
committernyamatongwe <unknown>2002-10-05 00:35:17 +0000
commit2caa865a89032a29f9f6b95dd7043b2eee9c7949 (patch)
treef92add170be76f0a8b69f932031afd72c363b117 /src
parentbcaa4c4a72f4cd31db387cfe7d97c7545324a2b9 (diff)
downloadscintilla-mirror-2caa865a89032a29f9f6b95dd7043b2eee9c7949.tar.gz
Fixed compiler warning.
Diffstat (limited to 'src')
-rw-r--r--src/LineMarker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx
index 03a9c1dd8..66ac50a5c 100644
--- a/src/LineMarker.cxx
+++ b/src/LineMarker.cxx
@@ -128,7 +128,7 @@ void XPM::Draw(Surface *surface, PRectangle &rc) {
int startY = rc.top + (rc.Height() - height) / 2;
int startX = rc.left + (rc.Width() - width) / 2;
for (int y=0;y<height;y++) {
- char prevCode = 0;
+ int prevCode = 0;
int xStartRun = 0;
for (int x=0; x<width; x++) {
int code = data[y*width + x];