summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glnx-macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glnx-macros.h b/glnx-macros.h
index 1d4e175..6d8aca9 100644
--- a/glnx-macros.h
+++ b/glnx-macros.h
@@ -38,7 +38,7 @@ G_BEGIN_DECLS
({ \
const char *_appendees_[] = { a, __VA_ARGS__ }; \
char *_d_, *_p_; \
- int _len_ = 0; \
+ size_t _len_ = 0; \
unsigned _i_; \
for (_i_ = 0; _i_ < G_N_ELEMENTS(_appendees_) && _appendees_[_i_]; _i_++) \
_len_ += strlen(_appendees_[_i_]); \