[glib: 1/6] Fix signedness warning in glib/tests/base64.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/6] Fix signedness warning in glib/tests/base64.c
- Date: Wed, 14 Oct 2020 14:10:06 +0000 (UTC)
commit 5a361aeeaa7f1e14b41b981de4609c380e196815
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Fri Sep 11 17:49:47 2020 +0200
Fix signedness warning in glib/tests/base64.c
glib/tests/base64.c:28:20: error: comparison of integer expressions of
different signedness: ‘gsize’ {aka ‘long unsigned int’} and ‘gint’ {aka ‘int’}
28 | while (input_len < length)
| ^
glib/tests/base64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/tests/base64.c b/glib/tests/base64.c
index bb9d4db72..bf32ac629 100644
--- a/glib/tests/base64.c
+++ b/glib/tests/base64.c
@@ -9,7 +9,7 @@ static guchar data[DATA_SIZE];
static void
test_incremental (gboolean line_break,
- gint length)
+ gsize length)
{
char *p;
gsize len, decoded_len, max, input_len, block_size;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]