doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

Blame SOURCES/0122-Do-not-use-bool-in-OPT_BOOL-macro-it-expects-int.patch

a60cd7
From 8b5ec646d59be4a52efd66a2331ee0ffbe6cd2bc Mon Sep 17 00:00:00 2001
a60cd7
From: Jakub Filak <jfilak@redhat.com>
a60cd7
Date: Wed, 14 Jan 2015 11:51:59 +0100
a60cd7
Subject: [PATCH] Do not use 'bool' in OPT_BOOL() macro : it expects 'int'
a60cd7
a60cd7
Signed-off-by: Jakub Filak <jfilak@redhat.com>
a60cd7
---
a60cd7
 src/daemon/abrt-auto-reporting.c | 2 +-
a60cd7
 1 file changed, 1 insertion(+), 1 deletion(-)
a60cd7
a60cd7
diff --git a/src/daemon/abrt-auto-reporting.c b/src/daemon/abrt-auto-reporting.c
a60cd7
index f3b4ed0..573c1ae 100644
a60cd7
--- a/src/daemon/abrt-auto-reporting.c
a60cd7
+++ b/src/daemon/abrt-auto-reporting.c
a60cd7
@@ -204,7 +204,7 @@ int main(int argc, char *argv[])
a60cd7
         OPT_c = 1 << 4,
a60cd7
     };
a60cd7
 
a60cd7
-    bool anonymous = false;
a60cd7
+    int anonymous = 0;
a60cd7
     const char *username = NULL;
a60cd7
     const char *password = NULL;
a60cd7
     const char *certificate = NULL;
a60cd7
-- 
a60cd7
2.4.3
a60cd7