freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] clang warning / typo in cffparse.c


From: chris
Subject: [ft-devel] clang warning / typo in cffparse.c
Date: Mon, 26 Jun 2017 18:12:05 +0200

Hello,

clang gives me the following warning while compiling:

/src/cff/cffparse.c:507:41: warning: implicit conversion from 'long 
long' to 'FT_Long' (aka 'long') changes value from -34359738367 to 1 
[-Wconstant-conversion]
          val = val > 0 ? 0x7FFFFFFFL : -0x7FFFFFFFFL;
              ~                         ^~~~~~~~~~~~~
I stared a long time at this line until I saw there might be an "F" too 
much.

Greetings, chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]