diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-11-03 10:51:23 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-11-03 10:51:23 +1000 |
commit | 7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d (patch) | |
tree | 95cf152ef65ff19c7b2515b427bbe86b92b611d0 /src/gos/gos_qt.cpp | |
parent | 8bd70d953bcd3e32ceb4e45a4e561c973726280a (diff) | |
download | uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.tar.gz uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.tar.bz2 uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.zip |
For all source files update integer types to the new gI8 etc type names
Diffstat (limited to 'src/gos/gos_qt.cpp')
-rw-r--r-- | src/gos/gos_qt.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gos/gos_qt.cpp b/src/gos/gos_qt.cpp index 2e15fc0f..5a9c613a 100644 --- a/src/gos/gos_qt.cpp +++ b/src/gos/gos_qt.cpp @@ -64,7 +64,7 @@ void _gosDeinit(void) void gfxHalt(const char *msg) { - volatile uint32_t dummy; + volatile gU32 dummy; (void)msg; @@ -75,19 +75,19 @@ void gfxHalt(const char *msg) void gfxExit(void) { - volatile uint32_t dummy; + volatile gU32 dummy; while(1) { dummy++; } } -void* gfxAlloc(size_t sz) +void* gfxAlloc(gMemSize sz) { return malloc(sz); } -void* gfxRealloc(void* ptr, size_t oldsz, size_t newsz) +void* gfxRealloc(void* ptr, gMemSize oldsz, gMemSize newsz) { Q_UNUSED(oldsz) return realloc(ptr, newsz); @@ -185,7 +185,7 @@ void gfxSemSignalI(gfxSem *psem) static_cast<QSemaphore*>(*psem)->release(1); } -gThread gfxThreadCreate(void *stackarea, size_t stacksz, gThreadpriority prio, DECLARE_THREAD_FUNCTION((*fn),p), void *param) +gThread gfxThreadCreate(void *stackarea, gMemSize stacksz, gThreadpriority prio, DECLARE_THREAD_FUNCTION((*fn),p), void *param) { Q_UNUSED(stackarea) |