Pointers have no sign.

This commit is contained in:
joerg 2016-12-22 21:03:12 +00:00
parent fc50b68262
commit ed2c2cf0eb
2 changed files with 23 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.21 2015/11/03 21:33:54 agc Exp $
$NetBSD: distinfo,v 1.22 2016/12/22 21:03:12 joerg Exp $
SHA1 (cinepaint-0.22-1.tar.gz) = 717580b9b8b1044d76f1f0e4330e1c8104e2a206
RMD160 (cinepaint-0.22-1.tar.gz) = 1f8e06486ed5e74ad483abec305d4fcef0538572
@ -20,6 +20,7 @@ SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__examin.h) = eb4dba58efd6ff19c5
SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__modell__beobachter.cpp) = 0aad88391642a9bacafee8e39116a98c7523d815
SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__oyranos.h) = a5a72d106b655f79932b0d2d032136a32acbeafb
SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__oyranos__extern.cpp) = 2e733a0c557236a735b97a7174795965b4bd4e0c
SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__profile__tags.cpp) = f590691012f832d8dd19ca62f70f241601d84807
SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__speicher.h) = 1eef5be81fe36c2eb9ecf50606ecb294644e15f4
SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__thread__daten.cpp) = 66398aa3b06cc65017ec957e36579accd82df117
SHA1 (patch-plug-ins_pdf_pdf.cpp) = e0af79a6f2e8962edc90d53ceef1b521aacb8e55

View file

@ -0,0 +1,21 @@
$NetBSD: patch-plug-ins_icc__examin_icc__examin_icc__profile__tags.cpp,v 1.1 2016/12/22 21:03:12 joerg Exp $
Pointers have no sign.
--- plug-ins/icc_examin/icc_examin/icc_profile_tags.cpp.orig 2016-12-22 13:23:55.102285480 +0000
+++ plug-ins/icc_examin/icc_examin/icc_profile_tags.cpp
@@ -332,12 +332,12 @@ ICCtag::getText (voi
# ifdef DEBUG_ICCTAG
DBG_NUM_S ((int)strchr(txt, 13))
# endif
- while (strchr(txt, 13) > 0) { // \r 013 0x0d
+ while (strchr(txt, 13)) { // \r 013 0x0d
pos = strchr(txt, 13);
# ifdef DEBUG_ICCTAG
//cout << (int)pos << " "; DBG
# endif
- if (pos > 0) {
+ if (pos) {
if (*(pos+1) == '\n')
*pos = ' ';
else