64-bit build fixes for ASN.1 compiler 64-bit integer support

This commit is contained in:
Nicolas Williams
2011-12-13 13:02:26 -06:00
parent 449fb4775e
commit a222521e68
6 changed files with 25 additions and 20 deletions

View File

@@ -139,7 +139,7 @@ encode_type (const char *name, const Type *t, const char *tmpstr)
encode_primitive ("unsigned", name);
} else
errx(1, "%s: unsupported range %lld -> %lld",
name, t->range->min, t->range->max);
name, (long long)t->range->min, (long long)t->range->max);
constructed = 0;
break;
case TBoolean: