File narrowing-warning.patch of Package calligra4

From 956bb80db4f300e4f8edeaf19d24fd61eb1932b2 Mon Sep 17 00:00:00 2001
From: "Friedrich W. H. Kossebau" <kossebau@kde.org>
Date: Mon, 31 Aug 2015 13:47:07 +0200
Subject: [PATCH] Fix compilation of PsCommentLexer.cpp on platforms where char
 is unsigned

REVIEW: 124883

Thanks Tom Hall for the fix
---
 filters/karbon/eps/PsCommentLexer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/filters/karbon/eps/PsCommentLexer.cpp b/filters/karbon/eps/PsCommentLexer.cpp
index 6487df6..dd928d6 100644
--- a/filters/karbon/eps/PsCommentLexer.cpp
+++ b/filters/karbon/eps/PsCommentLexer.cpp
@@ -63,7 +63,7 @@ const char*statetoa(State state)
 
 typedef struct {
     State oldState;
-    char c;
+    signed char c;
     State newState;
     Action action;
 } Transition;
-- 
2.9.1

openSUSE Build Service is sponsored by