diff options
author | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2020-11-19 20:24:18 +0100 |
---|---|---|
committer | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2021-04-15 10:19:29 +0200 |
commit | 8608eccf9a9ab05d4c25c4b1ee8f558d8fe2ff72 (patch) | |
tree | 1a09c9ee46c51132242b07eca1175027324fb440 | |
parent | 55d18fd3dcd168c6c771558d12ffca54650f9000 (diff) | |
download | glib-8608eccf9a9ab05d4c25c4b1ee8f558d8fe2ff72.tar.gz |
Fix signedness warning in gio/tests/file.c
gio/tests/file.c: In function ‘written_cb’:
gio/tests/file.c:358:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
358 | if (data->pos < strlen (data->data))
| ^
-rw-r--r-- | gio/tests/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/tests/file.c b/gio/tests/file.c index 7f5ee8e78..7e99601fa 100644 --- a/gio/tests/file.c +++ b/gio/tests/file.c @@ -174,7 +174,7 @@ typedef struct gint monitor_deleted; gint monitor_changed; gchar *monitor_path; - gint pos; + gsize pos; const gchar *data; gchar *buffer; guint timeout; |