[ostree] core: Fix a compiler warning



commit 2f1490f76618dc5d1de89ca7594700d1c2f15e0b
Author: Colin Walters <walters verbum org>
Date:   Sun Nov 27 20:15:07 2011 -0500

    core: Fix a compiler warning

 src/libostree/ostree-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-core.c b/src/libostree/ostree-core.c
index 0f3a710..d7da349 100644
--- a/src/libostree/ostree-core.c
+++ b/src/libostree/ostree-core.c
@@ -321,7 +321,7 @@ ostree_checksum_file (GFile            *f,
   GChecksum *ret_checksum = NULL;
 
   if (g_cancellable_set_error_if_cancelled (cancellable, error))
-    return NULL;
+    return FALSE;
 
   file_info = g_file_query_info (f, OSTREE_GIO_FAST_QUERYINFO,
                                  G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]