[tracker: 12/14] tracker-parser-libicu: Fix gint vs gsize comparison
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker: 12/14] tracker-parser-libicu: Fix gint vs gsize comparison
- Date: Sat, 8 May 2021 17:25:48 +0000 (UTC)
commit 4a8c83e9306e0a57d054d5c782bfc58688faae7a
Author: Daniele Nicolodi <daniele grinta net>
Date: Sun May 2 14:48:53 2021 +0200
tracker-parser-libicu: Fix gint vs gsize comparison
Change TrackerParser::utxt_size type from gint to gsize for type
consistency with the type of the variables this is most often compared
with. Also, buffer sizes are more naturally kept as gsize. This is a
private struct, thus there is no ABI compatibility issue.
src/libtracker-common/tracker-parser-libicu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-common/tracker-parser-libicu.c b/src/libtracker-common/tracker-parser-libicu.c
index cbd260a2c..09a5e3082 100644
--- a/src/libtracker-common/tracker-parser-libicu.c
+++ b/src/libtracker-common/tracker-parser-libicu.c
@@ -64,7 +64,7 @@ struct TrackerParser {
/* Text as UChars */
UChar *utxt;
- gint utxt_size;
+ gsize utxt_size;
/* Original offset of each UChar in the input txt string */
gint32 *offsets;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]