openbsd-ports/lang/intel2gas/patches/patch-intel2gas_cc
2010-06-08 07:36:20 +00:00

13 lines
422 B
Plaintext

$OpenBSD: patch-intel2gas_cc,v 1.1 2010/06/08 07:36:20 espie Exp $
--- intel2gas.cc.orig Tue Jun 8 09:34:27 2010
+++ intel2gas.cc Tue Jun 8 09:34:53 2010
@@ -57,7 +57,7 @@ syntaxlist_t *findSyntax(char const *name)
int counter = 0;
char* prev = 0;
while (l) {
- if (int(l->name) > 0x10000000) {
+ if (long(l->name) > 0x10000000) {
printf("Error %d, prev=%s\n", counter, prev);
break;
}