diff options
Diffstat (limited to 'src/gqueue')
-rw-r--r-- | src/gqueue/gqueue.c | 2 | ||||
-rw-r--r-- | src/gqueue/gqueue.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gqueue/gqueue.c b/src/gqueue/gqueue.c index 04aeb6dd..8bd1312f 100644 --- a/src/gqueue/gqueue.c +++ b/src/gqueue/gqueue.c @@ -430,7 +430,7 @@ void _gqueueDeinit(void) #endif #if GQUEUE_NEED_BUFFERS - gBool gfxBufferAlloc(unsigned num, size_t size) { + gBool gfxBufferAlloc(unsigned num, gMemSize size) { GDataBuffer *pd; if (num < 1) diff --git a/src/gqueue/gqueue.h b/src/gqueue/gqueue.h index 179f0822..a62f8775 100644 --- a/src/gqueue/gqueue.h +++ b/src/gqueue/gqueue.h @@ -77,8 +77,8 @@ typedef struct gfxQueueFSync { */ typedef struct GDataBuffer { gfxQueueGSyncItem next; // @< Used for queueing the buffers - size_t size; // @< The size of the buffer area following this structure (in bytes) - size_t len; // @< The length of the data in the buffer area (in bytes) + gMemSize size; // @< The size of the buffer area following this structure (in bytes) + gMemSize len; // @< The length of the data in the buffer area (in bytes) } GDataBuffer; /*===========================================================================*/ @@ -352,7 +352,7 @@ gBool gfxQueueFSyncIsInI(gfxQueueFSync *pqueue, const gfxQueueFSyncItem *pitem); * @api * @{ */ -gBool gfxBufferAlloc(unsigned num, size_t size); +gBool gfxBufferAlloc(unsigned num, gMemSize size); /** @} */ /** |