ports/net/v6eval/files/patch-lib_Pz_MvFunction.cc
Hiroki Sato a14da88b51 - Add patches to fix type mismatch. Bump PORTREVISION becuase some affect
the result binaries.
- Fix build on head after byacc 20130304.
2013-06-16 02:37:46 +00:00

15 lines
485 B
C++

--- lib/Pz/MvFunction.cc.orig 2013-06-16 10:37:30.000000000 +0900
+++ lib/Pz/MvFunction.cc 2013-06-16 10:38:07.000000000 +0900
@@ -352,9 +352,9 @@
uint32_t d = 0;
for(d = 0; d < buflen; d ++) {
- if((buf[d] < '0') || (buf[d] > '9') &&
- (buf[d] < 'A') || (buf[d] > 'F') &&
- (buf[d] < 'a') || (buf[d] > 'f')) {
+ if(((buf[d] < '0') || (buf[d] > '9')) &&
+ ((buf[d] < 'A') || (buf[d] > 'F')) &&
+ ((buf[d] < 'a') || (buf[d] > 'f'))) {
return false;
}
}