aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-02-18 02:28:01 +0000
committernyamatongwe <unknown>2001-02-18 02:28:01 +0000
commite456d947679a5cd6fd001b3679e26df4b04ceb5f (patch)
tree6bc2157d676049d1a23bb8cb7bae41966f55becf
parent9577ae3609d24c408c955fdb105ddb7e204a5e08 (diff)
downloadscintilla-mirror-e456d947679a5cd6fd001b3679e26df4b04ceb5f.tar.gz
Changed iMessage parameter of scintilla_send_message from int to unsigned
int to be compatible with other message functions.
-rw-r--r--gtk/ScintillaGTK.cxx2
-rw-r--r--include/ScintillaWidget.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 57323f5bf..75c19d733 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -1300,7 +1300,7 @@ sptr_t ScintillaGTK::DirectFunction(
return sciThis->WndProc(iMessage, wParam, lParam);
}
-sptr_t scintilla_send_message(ScintillaObject *sci, int iMessage, uptr_t wParam, sptr_t lParam) {
+sptr_t scintilla_send_message(ScintillaObject *sci, unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
ScintillaGTK *psci = reinterpret_cast<ScintillaGTK *>(sci->pscin);
return psci->WndProc(iMessage, wParam, lParam);
}
diff --git a/include/ScintillaWidget.h b/include/ScintillaWidget.h
index 2382b65a1..a151b9cb2 100644
--- a/include/ScintillaWidget.h
+++ b/include/ScintillaWidget.h
@@ -46,7 +46,7 @@ struct _ScintillaClass {
guint scintilla_get_type (void);
GtkWidget* scintilla_new (void);
void scintilla_set_id (ScintillaObject *sci,int id);
-sptr_t scintilla_send_message (ScintillaObject *sci,int iMessage, uptr_t wParam, sptr_t lParam);
+sptr_t scintilla_send_message (ScintillaObject *sci,unsigned int iMessage, uptr_t wParam, sptr_t lParam);
#ifdef __cplusplus
}