diff options
| author | nyamatongwe <unknown> | 2000-04-08 02:16:50 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2000-04-08 02:16:50 +0000 |
| commit | 544b81845f054f23f488f758460136604735befa (patch) | |
| tree | c731acca218796e64e4dfcfad2d5b507377dd60a /gtk/PlatGTK.cxx | |
| parent | 8e14fe0dec5bf0e7a5f38026693332810eebd733 (diff) | |
| download | scintilla-mirror-544b81845f054f23f488f758460136604735befa.tar.gz | |
Warning squashing.
Updated contributors list.
Fixed lexing of MS warnings.
Diffstat (limited to 'gtk/PlatGTK.cxx')
| -rw-r--r-- | gtk/PlatGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index d5183e02b..a1e480030 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -254,7 +254,7 @@ void Surface::Polygon(Point *pts, int npts, Colour fore, // Nasty casts works because Point is exactly same as GdkPoint // Oh no it doesn't... GdkPoint gpts[20]; - if (npts < (sizeof(gpts)/sizeof(gpts[0]))) { + if (npts < static_cast<int>((sizeof(gpts)/sizeof(gpts[0])))) { for (int i=0;i<npts;i++) { gpts[i].x = pts[i].x; gpts[i].y = pts[i].y; |
