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

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