From 423ef813f0a4becd25141e419df1232dfb23cd62 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 23 May 2014 17:03:08 +0000 Subject: [PATCH] Removed compilation warning of signed/unsigned comparison. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Copy_Surface.H | 2 +- 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;