Updating branch refs/heads/master to 7b7a01ae6ba9bbcfe674772df0e0edb0a5e36f65 (commit) from a887ee18e02d6d862767dceecfdde6e57e90155a (commit)
commit 7b7a01ae6ba9bbcfe674772df0e0edb0a5e36f65 Author: Jannis Pohlmann <jan...@xfce.org> Date: Tue Sep 29 15:33:42 2009 +0200 Fix another TDB warning (st.st_size compare to a size_t value). tdb/tdb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tdb/tdb.c b/tdb/tdb.c index 23d0bf0..898316a 100644 --- a/tdb/tdb.c +++ b/tdb/tdb.c @@ -368,7 +368,7 @@ static int tdb_oob(TDB_CONTEXT *tdb, tdb_off len, int probe) if (fstat(tdb->fd, &st) == -1) return TDB_ERRCODE(TDB_ERR_IO, -1); - if (st.st_size < (size_t)len) { + if (st.st_size < (off_t)len) { if (!probe) { /* Ensure ecode is set for log fn. */ tdb->ecode = TDB_ERR_IO; _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits