replace "<=" by "==" in the comparison of unsigned variable.

int-not32-changes-2017
suzuki toshiya 7 years ago
parent df9094492d
commit 2d4f881acd
  1. 6
      src/pfr/pfrsbit.c

@ -95,7 +95,7 @@
val <<= 1;
mask >>= 1;
if ( --left <= 0 )
if ( --left == 0 )
{
cur[0] = (FT_Byte)c;
left = writer->width;
@ -174,7 +174,7 @@
mask >>= 1;
if ( --left <= 0 )
if ( --left == 0 )
{
cur[0] = (FT_Byte)c;
left = writer->width;
@ -239,7 +239,7 @@
mask >>= 1;
if ( --left <= 0 )
if ( --left == 0 )
{
cur[0] = (FT_Byte)c;
c = 0;

Loading…
Cancel
Save