[goffice: 1/2] Fix argument type mismatches in go-glib-extras
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice: 1/2] Fix argument type mismatches in go-glib-extras
- Date: Tue, 21 Sep 2021 02:28:52 +0000 (UTC)
commit b64b07c55ca3bf4a2fdaa53d85b838d685267a8e
Author: Evan Miller <emmiller gmail com>
Date: Mon Sep 20 21:32:43 2021 +0000
Fix argument type mismatches in go-glib-extras
Closes: https://gitlab.gnome.org/GNOME/goffice/-/issues/55
goffice/utils/go-glib-extras.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/goffice/utils/go-glib-extras.c b/goffice/utils/go-glib-extras.c
index 68bc5488d..bb1da232a 100644
--- a/goffice/utils/go-glib-extras.c
+++ b/goffice/utils/go-glib-extras.c
@@ -443,7 +443,7 @@ struct _GOMemChunk {
GOMemChunk *
-go_mem_chunk_new (char const *name, size_t user_atom_size, size_t chunk_size)
+go_mem_chunk_new (char const *name, gsize user_atom_size, gsize chunk_size)
{
int atoms_per_block;
GOMemChunk *res;
@@ -732,7 +732,7 @@ go_str_compare (void const *x, void const *y)
const char *
-go_guess_encoding (const char *raw, size_t len, const char *user_guess,
+go_guess_encoding (const char *raw, gsize len, const char *user_guess,
GString **utf8_str, guint *truncated)
{
int try;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]