diff options
| -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; |
