diff options
| author | Manolo Gouy <Manolo> | 2014-05-23 17:03:08 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-05-23 17:03:08 +0000 |
| commit | 423ef813f0a4becd25141e419df1232dfb23cd62 (patch) | |
| tree | b750c80a886d9eeeb99ab1c12f1c826bfac50550 | |
| parent | 07dd8ba328117a2599cb39dbaa9f17d4f279f923 (diff) | |
Removed compilation warning of signed/unsigned comparison.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/Fl_Copy_Surface.H | 2 | ||||
| -rw-r--r-- | src/Fl_Copy_Surface.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Copy_Surface.H b/FL/Fl_Copy_Surface.H index fc116f3b5..29da059b9 100644 --- a/FL/Fl_Copy_Surface.H +++ b/FL/Fl_Copy_Surface.H @@ -102,7 +102,7 @@ public: class Fl_GDI_Surface_ : public Fl_Paged_Device { int width; int height; - int depth; + unsigned depth; POINT origins[10]; public: static const char *class_id; diff --git a/src/Fl_Copy_Surface.cxx b/src/Fl_Copy_Surface.cxx index 206c1e684..3ee25705f 100644 --- a/src/Fl_Copy_Surface.cxx +++ b/src/Fl_Copy_Surface.cxx @@ -261,7 +261,7 @@ void Fl_Copy_Surface::complete_copy_pdf_and_tiff() /* graphics driver that translates all graphics coordinates before calling Xlib */ class Fl_translated_Xlib_Graphics_Driver_ : public Fl_Xlib_Graphics_Driver { int offset_x, offset_y; // translation between user and graphical coordinates: graphical = user + offset - int depth; // depth of translation stack + unsigned depth; // depth of translation stack int stack_x[20], stack_y[20]; // translation stack allowing cumulative translations public: static const char *class_id; |
