glthread: use int instead of size_t where it's OK

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
This commit is contained in:
Marek Olšák
2020-02-19 16:00:53 -05:00
committed by Marge Bot
parent 313e98fb81
commit 9dbf5ec9f7
3 changed files with 4 additions and 4 deletions

View 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];