aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LineMarker.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-10-05 01:53:22 +0000
committernyamatongwe <unknown>2002-10-05 01:53:22 +0000
commitbebf2d4f9d96b217b03cb0eddb43b588035ae41b (patch)
treeeeb1624ee1c4e156affd6d36bb2f5bd43502849c /src/LineMarker.cxx
parent2caa865a89032a29f9f6b95dd7043b2eee9c7949 (diff)
downloadscintilla-mirror-bebf2d4f9d96b217b03cb0eddb43b588035ae41b.tar.gz
Fixed compiler warnings.
Diffstat (limited to 'src/LineMarker.cxx')
-rw-r--r--src/LineMarker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx
index 66ac50a5c..99e54072f 100644
--- a/src/LineMarker.cxx
+++ b/src/LineMarker.cxx
@@ -62,7 +62,7 @@ void XPM::Init(const char * const *linesForm) {
}
}
-ColourAllocated XPM::ColourFromCode(char ch) {
+ColourAllocated XPM::ColourFromCode(int ch) {
for (int i=0;i<nColours;i++) {
if (codes[i] == ch) {
return colours[i].allocated;
@@ -71,7 +71,7 @@ ColourAllocated XPM::ColourFromCode(char ch) {
return colours[0].allocated;
}
-void XPM::FillRun(Surface *surface, char code, int startX, int y, int x) {
+void XPM::FillRun(Surface *surface, int code, int startX, int y, int x) {
if (code != codeTransparent) {
PRectangle rc(startX, y, x, y+1);
surface->FillRectangle(rc, ColourFromCode(code));