aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-08-12 02:35:53 +0000
committerLev Walkin <vlm@lionet.info>2004-08-12 02:35:53 +0000
commite4c0c154a0128a278f2fd9f2535afb3b88868b76 (patch)
treee3f030a9eb770df94e97036192e9bd6f06928603
parenteb1b9ba8d4e1b491ef9f1c3a0aa468c9166828e7 (diff)
portability
-rw-r--r--skeletons/GeneralizedTime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/skeletons/GeneralizedTime.c b/skeletons/GeneralizedTime.c
index 586fb4aa..5d53e638 100644
--- a/skeletons/GeneralizedTime.c
+++ b/skeletons/GeneralizedTime.c
@@ -10,7 +10,7 @@
#endif /* __NO_ASSERT_H__ */
#ifdef WIN32
-#define localtime_r(tlocp, tmp) (*tmp = localtime(&tlocp))
+#define localtime_r(tlocp, tmp) (*tmp = localtime(tlocp))
#warning PLEASE STOP AND READ!
#warning localtime_r is implemented via localtime(), which is not thread-safe. You must fix the code to insert appropriate locking if you want to use asn_GT2time() or asn_UT2time().
#warning PLEASE STOP AND READ!