diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2017-02-23 12:27:29 +0000 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2017-02-23 12:32:54 +0000 |
commit | 9d55f35d48facb4ab10cd2a5ae6dc812f6828a28 (patch) | |
tree | 6f9e95d25757c2c16be05aa8d3dffd1d6b00bc4e /tests/libtracker-common/tracker-parser.c | |
parent | a7a1abdd92c4f8033c8b9f03c1ad55b1cdcc73fd (diff) | |
download | tracker-9d55f35d48facb4ab10cd2a5ae6dc812f6828a28.tar.gz |
Fix pointer signedness warnings
It's a bit ugly that GLib string functions take signed chars and
SQLite'3 string functions return unsigned chars. We could disable
that warning instead but maybe it's useful in some other places.
Diffstat (limited to 'tests/libtracker-common/tracker-parser.c')
-rw-r--r-- | tests/libtracker-common/tracker-parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtracker-common/tracker-parser.c b/tests/libtracker-common/tracker-parser.c index 932cc2e69..db9ae2898 100644 --- a/tests/libtracker-common/tracker-parser.c +++ b/tests/libtracker-common/tracker-parser.c @@ -186,8 +186,8 @@ run_parsing (void) original_word[original_word_length] = '\0'; /* Get hex strings */ - word_hex = tracker_strhex (word, word_length, ':'); - original_word_hex = tracker_strhex (original_word, + word_hex = tracker_strhex ((guint8 *)word, word_length, ':'); + original_word_hex = tracker_strhex ((guint8 *)original_word, original_word_length, ':'); |