[gnome-flashback] clipboard: fix sign-compare warnings



commit 02365b8b73fa2e2a9e6d11b0d23956b00c06a699
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Oct 10 16:59:15 2019 +0300

    clipboard: fix sign-compare warnings

 gnome-flashback/libclipboard/gsd-clipboard-manager.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-flashback/libclipboard/gsd-clipboard-manager.c 
b/gnome-flashback/libclipboard/gsd-clipboard-manager.c
index 4d04987..ce4c4cf 100644
--- a/gnome-flashback/libclipboard/gsd-clipboard-manager.c
+++ b/gnome-flashback/libclipboard/gsd-clipboard-manager.c
@@ -65,7 +65,7 @@ struct _GsdClipboardManager
 typedef struct
 {
         unsigned char *data;
-        int            length;
+        unsigned long  length;
         Atom           target;
         Atom           type;
         int            format;
@@ -621,7 +621,7 @@ convert_clipboard (GsdClipboardManager *manager,
         List           *conversions;
         IncrConversion *rdata;
         Atom            type;
-        int             i;
+        unsigned long   i;
         int             format;
         unsigned long   nitems;
         unsigned long   remaining;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]