diff options
| author | nyamatongwe <devnull@localhost> | 2000-04-08 02:16:50 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2000-04-08 02:16:50 +0000 |
| commit | 4fe90137dc48e5ca07e9223694ab8926c9ebbf13 (patch) | |
| tree | c731acca218796e64e4dfcfad2d5b507377dd60a /gtk/PlatGTK.cxx | |
| parent | 7651d2bdd62655820b09e91d4efa7d3673eddcb8 (diff) | |
| download | scintilla-mirror-4fe90137dc48e5ca07e9223694ab8926c9ebbf13.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; |
