diff options
author | Lev Walkin <vlm@lionet.info> | 2004-10-26 09:59:42 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2004-10-26 09:59:42 +0000 |
commit | 426b0980138fbbcb79f95cea2c9062d5dfb7ec7f (patch) | |
tree | 4be4d239a2fa963aa005d78d38ae0a461c021ada /skeletons | |
parent | 86859bc83d088a7c748423f2621bd089bbf9a119 (diff) |
LP64
Diffstat (limited to 'skeletons')
-rw-r--r-- | skeletons/IA5String.c | 4 | ||||
-rw-r--r-- | skeletons/NumericString.c | 4 | ||||
-rw-r--r-- | skeletons/PrintableString.c | 4 | ||||
-rw-r--r-- | skeletons/VisibleString.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/skeletons/IA5String.c b/skeletons/IA5String.c index 32a7a7f8..c4da875a 100644 --- a/skeletons/IA5String.c +++ b/skeletons/IA5String.c @@ -48,10 +48,10 @@ IA5String_constraint(asn_TYPE_descriptor_t *td, const void *sptr, for(; buf < end; buf++) { if(*buf > 0x7F) { _ASN_ERRLOG(app_errlog, app_key, - "%s: value byte %d out of range: " + "%s: value byte %ld out of range: " "%d > 127 (%s:%d)", td->name, - (buf - st->buf) + 1, + (long)((buf - st->buf) + 1), *buf, __FILE__, __LINE__); return -1; diff --git a/skeletons/NumericString.c b/skeletons/NumericString.c index dbff6e21..39404c25 100644 --- a/skeletons/NumericString.c +++ b/skeletons/NumericString.c @@ -54,10 +54,10 @@ NumericString_constraint(asn_TYPE_descriptor_t *td, const void *sptr, continue; } _ASN_ERRLOG(app_errlog, app_key, - "%s: value byte %d (%d) " + "%s: value byte %ld (%d) " "not in NumericString alphabet (%s:%d)", td->name, - (buf - st->buf) + 1, + (long)((buf - st->buf) + 1), *buf, __FILE__, __LINE__); return -1; diff --git a/skeletons/PrintableString.c b/skeletons/PrintableString.c index dc363d84..bc48c0f8 100644 --- a/skeletons/PrintableString.c +++ b/skeletons/PrintableString.c @@ -72,11 +72,11 @@ PrintableString_constraint(asn_TYPE_descriptor_t *td, const void *sptr, for(; buf < end; buf++) { if(!_PrintableString_alphabet[*buf]) { _ASN_ERRLOG(app_errlog, app_key, - "%s: value byte %d (%d) " + "%s: value byte %ld (%d) " "not in PrintableString alphabet " "(%s:%d)", td->name, - (buf - st->buf) + 1, + (long)((buf - st->buf) + 1), *buf, __FILE__, __LINE__); return -1; diff --git a/skeletons/VisibleString.c b/skeletons/VisibleString.c index 7170b542..30f29455 100644 --- a/skeletons/VisibleString.c +++ b/skeletons/VisibleString.c @@ -51,10 +51,10 @@ VisibleString_constraint(asn_TYPE_descriptor_t *td, const void *sptr, 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; |