[Libreoffice-commits] core.git: rsc/source

Stephan Bergmann sbergman at redhat.com
Tue Feb 2 11:42:56 UTC 2016


 rsc/source/rscpp/cpp4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 05642b446c39c1551d2d703be18158c7ae0f0c36
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Feb 2 12:39:26 2016 +0100

    -Werror,-Wconstant-conversion (from 255 to -1)
    
    Change-Id: I9cce09bf729398a475d9d07fdfa002f325611546

diff --git a/rsc/source/rscpp/cpp4.c b/rsc/source/rscpp/cpp4.c
index 5d1cf7d..98ec8a3 100644
--- a/rsc/source/rscpp/cpp4.c
+++ b/rsc/source/rscpp/cpp4.c
@@ -277,7 +277,7 @@ void stparmscan(int delim)
         {
 #ifdef SOLAR
             *wp++ = DEL;
-            *wp++ = MAC_PARM + PAR_MAC;     /* Stuff a magic marker */
+            *wp++ = (char)(MAC_PARM + PAR_MAC); /* Stuff a magic marker */
             *wp++ = (char)(i + MAC_PARM);   /* Make a formal marker */
             *wp = wp[-4];                   /* Add on closing quote */
             workp = wp + 1;                 /* Reset string end     */


More information about the Libreoffice-commits mailing list