glthread: use int instead of size_t where it's OK
[mesa.git] / src / mesa / main / glthread.h
index 59cb95feb4a0bc4a09c0ac3de757c12423e49a19..3d1c3ef198308e6e10cf7c419133471638c1979a 100644 (file)
@@ -60,7 +60,7 @@ struct glthread_batch
    struct gl_context *ctx;
 
    /** Amount of data used by batch commands, in bytes. */
-   size_t used;
+   int used;
 
    /** Data contained in the command buffer. */
    uint8_t buffer[MARSHAL_MAX_CMD_SIZE];