aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/UTCTime.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-08-11 08:10:13 +0000
committerLev Walkin <vlm@lionet.info>2004-08-11 08:10:13 +0000
commit4d9528c7c94a189d78c5cd10d1afe8efcbf8a934 (patch)
treeecd246a6768dba94fea217bde5cbc5e351f11021 /skeletons/UTCTime.c
parent90fcd44d253273c5fc351e76f4fc8fad73cc024e (diff)
portability
Diffstat (limited to 'skeletons/UTCTime.c')
-rw-r--r--skeletons/UTCTime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/skeletons/UTCTime.c b/skeletons/UTCTime.c
index 2ebf4337..c02e9f71 100644
--- a/skeletons/UTCTime.c
+++ b/skeletons/UTCTime.c
@@ -93,7 +93,7 @@ asn_UT2time(const UTCTime_t *st, struct tm *_tm, int as_gmt) {
return -1;
}
- gt.buf = buf;
+ gt.buf = (unsigned char *)buf;
gt.size = st->size + 2;
memcpy(gt.buf + 2, st->buf, st->size);
if(st->buf[0] > 0x35) {