[libgsf] Compilation: FALSE is not a good NULL.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsf] Compilation: FALSE is not a good NULL.
- Date: Tue, 26 Mar 2013 03:22:24 +0000 (UTC)
commit b5ef5411bcdf01ab1779526ce75f77807e475bed
Author: Morten Welinder <terra gnome org>
Date: Mon Mar 25 23:21:46 2013 -0400
Compilation: FALSE is not a good NULL.
gsf/gsf-input.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsf/gsf-input.c b/gsf/gsf-input.c
index 09ed888..f44e840 100644
--- a/gsf/gsf-input.c
+++ b/gsf/gsf-input.c
@@ -400,8 +400,8 @@ gsf_input_read0 (GsfInput *input, size_t num_bytes, size_t *bytes_read)
{
guint8 *res;
- g_return_val_if_fail (input != NULL, FALSE);
- g_return_val_if_fail (bytes_read != NULL, FALSE);
+ g_return_val_if_fail (input != NULL, NULL);
+ g_return_val_if_fail (bytes_read != NULL, NULL);
*bytes_read = num_bytes;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]