diff dmd/lexer.c @ 794:661384d6a936

Fix warnings on x86-64. By fvbommel.
author Christian Kamm <kamm incasoftware de>
date Fri, 28 Nov 2008 21:24:08 +0100
parents a26b0c5d5942
children bc982f1ad106
line wrap: on
line diff
--- a/dmd/lexer.c	Thu Nov 27 18:31:09 2008 +0100
+++ b/dmd/lexer.c	Fri Nov 28 21:24:08 2008 +0100
@@ -138,11 +138,11 @@
 	    break;
 
 	case TOKint64v:
-	    sprintf(buffer,"%lldL",int64value);
+	    sprintf(buffer,"%lldL",(long long)int64value);
 	    break;
 
 	case TOKuns64v:
-	    sprintf(buffer,"%lluUL",uns64value);
+	    sprintf(buffer,"%lluUL",(unsigned long long)uns64value);
 	    break;
 
 #if IN_GCC