[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] int-not32-changes-2017 e66b6a5 11/23: replace "<=" by "==" i
From: |
suzuki toshiya |
Subject: |
[freetype2] int-not32-changes-2017 e66b6a5 11/23: replace "<=" by "==" in the comparison of unsigned variable. |
Date: |
Tue, 12 Sep 2017 22:13:35 -0400 (EDT) |
branch: int-not32-changes-2017
commit e66b6a5f335a1733f98a2dc85bb9fb22cab2db0f
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 e66b6a5 11/23: replace "<=" by "==" in the comparison of unsigned variable.,
suzuki toshiya <=