aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/GeneralizedTime.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/GeneralizedTime.c
parent90fcd44d253273c5fc351e76f4fc8fad73cc024e (diff)
portability
Diffstat (limited to 'skeletons/GeneralizedTime.c')
-rw-r--r--skeletons/GeneralizedTime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/skeletons/GeneralizedTime.c b/skeletons/GeneralizedTime.c
index 5e3b9b01..99f2e720 100644
--- a/skeletons/GeneralizedTime.c
+++ b/skeletons/GeneralizedTime.c
@@ -437,7 +437,7 @@ asn_time2GT(GeneralizedTime_t *opt_gt, const struct tm *tm, int force_gmt) {
if(!opt_gt) { free(buf); return 0; }
}
- opt_gt->buf = buf;
+ opt_gt->buf = (unsigned char *)buf;
opt_gt->size = size;
return opt_gt;