rk_UNCONST argument mktime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15413 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -290,7 +290,7 @@ strftime (char *buf, size_t maxsize, const char *format, | ||||
| 		     | ||||
| 	    case 's' : | ||||
| 		ret = snprintf (buf, maxsize - n, | ||||
| 				"%d", (int)mktime((struct tm *)tm)); | ||||
| 				"%d", (int)mktime(rk_UNCONST(tm))); | ||||
| 		break; | ||||
| 	    case 'S' : | ||||
| 		ret = snprintf (buf, maxsize - n, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand