summaryrefslogtreecommitdiff
path: root/src/time
diff options
context:
space:
mode:
Diffstat (limited to 'src/time')
-rw-r--r--src/time/__asctime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/__asctime.c b/src/time/__asctime.c
index 18535802..d31f6347 100644
--- a/src/time/__asctime.c
+++ b/src/time/__asctime.c
@@ -21,7 +21,7 @@ char *__asctime(const struct tm *tm, char *buf)
* application developers that they may not be so lucky
* on other implementations (e.g. stack smashing..).
*/
- *(int*)0 = 0;
+ *(volatile int*)0 = 0;
}
return buf;
}