diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2025-02-21 16:03:51 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-21 17:03:51 -0700 |
| commit | 8c6ae625aef6d07741cd8925f422f43ae24b198c (patch) | |
| tree | 741fafdf5cf11006a23a9019451082c269fe4922 /src/boot/libu64/gfxprint.c | |
| parent | f013a028f42a1b11134bc5f22f28e9f48236b6f0 (diff) | |
Ultralib Update (#233)
* git subrepo pull (merge) lib/ultralib
subrepo:
subdir: "lib/ultralib"
merged: "74f0eee"
upstream:
origin: "git@github.com:decompals/ultralib.git"
branch: "main"
commit: "2717d45"
git-subrepo:
version: "0.4.9"
origin: "https://github.com/ingydotnet/git-subrepo"
commit: "cce3d93"
* New ultralib fixes
* Update some includes in tools
* git subrepo commit (merge) lib/ultralib
subrepo:
subdir: "lib/ultralib"
merged: "3a702eaf"
upstream:
origin: "git@github.com:decompals/ultralib.git"
branch: "main"
commit: "48f9f908"
git-subrepo:
version: "0.4.9"
origin: "git@github.com:ingydotnet/git-subrepo.git"
commit: "ea10886"
* Update warnings file
Diffstat (limited to 'src/boot/libu64/gfxprint.c')
| -rw-r--r-- | src/boot/libu64/gfxprint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/libu64/gfxprint.c b/src/boot/libu64/gfxprint.c index ff66e19..78bcf7b 100644 --- a/src/boot/libu64/gfxprint.c +++ b/src/boot/libu64/gfxprint.c @@ -185,7 +185,7 @@ void gfxprint_putc(gfxprint* this, char c) { } } -void gfxprint_write(gfxprint* this, const void* buffer, s32 size, s32 n) { +void gfxprint_write(gfxprint* this, const void* buffer, size_t size, size_t n) { const char* buf = (const char*)buffer; s32 i; @@ -200,14 +200,14 @@ void gfxprint_puts(gfxprint* this, const char* buffer) { } } -void* gfxprint_prout(void* this, const char* buffer, s32 n) { +void* gfxprint_prout(void* this, const char* buffer, size_t n) { gfxprint_write(this, buffer, sizeof(char), n); return this; } void gfxprint_init(gfxprint* this) { gfxprint_clrOpened(this); - this->proutFunc = (PrintCallback)gfxprint_prout; + this->proutFunc = gfxprint_prout; this->gListp = NULL; this->positionX = 0; this->positionY = 0; |
