LP64
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@560 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/VisibleString.c b/skeletons/VisibleString.c
index 7170b54..30f2945 100644
--- a/skeletons/VisibleString.c
+++ b/skeletons/VisibleString.c
@@ -51,10 +51,10 @@
for(; buf < end; buf++) {
if(*buf < 0x20 || *buf > 0x7e) {
_ASN_ERRLOG(app_errlog, app_key,
- "%s: value byte %d (%d) "
+ "%s: value byte %ld (%d) "
"not in VisibleString alphabet (%s:%d)",
td->name,
- (buf - st->buf) + 1,
+ (long)((buf - st->buf) + 1),
*buf,
__FILE__, __LINE__);
return -1;