[telepathy-mission-control/master] mcd-misc: write_to_temp_file: length is guaranteed to be >= 0 so use gsize
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Apr 2 12:21:49 PDT 2009
This avoids a signed/unsigned comparison.
---
src/mcd-misc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mcd-misc.c b/src/mcd-misc.c
index ff70b84..49a8ecb 100644
--- a/src/mcd-misc.c
+++ b/src/mcd-misc.c
@@ -333,7 +333,7 @@ rename_file (const char *old_name,
static gchar *
write_to_temp_file (const gchar *contents,
- gssize length,
+ gsize length,
const gchar *template,
GError **err)
{
--
1.5.6.5
More information about the telepathy-commits
mailing list