[gtk/wip/chergert/glproto: 481/526] use gsize for positions/len




commit bf21a85c1314f591946d6b6bdb31a47eee6ad6f7
Author: Christian Hergert <chergert redhat com>
Date:   Mon Feb 8 15:48:05 2021 -0800

    use gsize for positions/len

 gsk/next/gskglbufferprivate.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/next/gskglbufferprivate.h b/gsk/next/gskglbufferprivate.h
index 01612b5e23..2f6f149a0c 100644
--- a/gsk/next/gskglbufferprivate.h
+++ b/gsk/next/gskglbufferprivate.h
@@ -28,8 +28,8 @@ G_BEGIN_DECLS
 typedef struct _GskGLBuffer
 {
   guint8 *buffer;
-  guint   buffer_pos;
-  guint   buffer_len;
+  gsize   buffer_pos;
+  gsize   buffer_len;
   guint   count;
   GLenum  target;
   guint   element_size;


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