shithub: mc

Download patch

ref: a9b279f034a8bc642be35baabc603e055e979e6b
parent: 2b344fe9295bc5c634f1336d59298b97170b1c43
author: Ori Bernstein <[email protected]>
date: Tue Dec 17 18:37:44 EST 2013

Make time a signed type.

    We want to represent time before epoch.

--- a/libstd/types.myr
+++ b/libstd/types.myr
@@ -3,5 +3,5 @@
 	type ssize	= int64		/* signed size */
 	type off	= uint64	/* file offsets */
 	type intptr	= uint64	/* can hold any pointer losslessly */
-	type time	= uint64	/* milliseconds since epoch */
+	type time	= int64		/* milliseconds since epoch */
 ;;