arrfab / rpms / abrt

Forked from rpms/abrt 5 years ago
Clone

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

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