[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] int-not32-changes-2017 2d4f881 12/25: replace "<=" by "==" i
From: |
suzuki toshiya |
Subject: |
[freetype2] int-not32-changes-2017 2d4f881 12/25: replace "<=" by "==" in the comparison of unsigned variable. |
Date: |
Wed, 13 Sep 2017 04:15:05 -0400 (EDT) |
branch: int-not32-changes-2017
commit 2d4f881acd00cbfe78a738e77acc6952606dc553
Author: suzuki toshiya <address@hidden>
Commit: suzuki toshiya <address@hidden>
replace "<=" by "==" in the comparison of unsigned variable.
---
src/pfr/pfrsbit.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/pfr/pfrsbit.c b/src/pfr/pfrsbit.c
index 54e7d0e..7564d39 100644
--- a/src/pfr/pfrsbit.c
+++ b/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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] int-not32-changes-2017 2d4f881 12/25: replace "<=" by "==" in the comparison of unsigned variable.,
suzuki toshiya <=