Alexandre Julliard : wineps.drv: Use INT_MAX instead of LONG_MAX to initialize a LONG value.

Alexandre Julliard julliard at winehq.org
Fri Jan 9 09:52:05 CST 2009


Module: wine
Branch: master
Commit: f45874ae28547d21dad4daf27d0ba2ef9f177550
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f45874ae28547d21dad4daf27d0ba2ef9f177550

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jan  8 17:29:14 2009 +0100

wineps.drv: Use INT_MAX instead of LONG_MAX to initialize a LONG value.

---

 dlls/wineps.drv/type1afm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wineps.drv/type1afm.c b/dlls/wineps.drv/type1afm.c
index 85aca42..4feee71 100644
--- a/dlls/wineps.drv/type1afm.c
+++ b/dlls/wineps.drv/type1afm.c
@@ -746,7 +746,7 @@ static BOOL ParseN(LPSTR sz, OLD_AFMMETRICS *metrics)
 static const OLD_AFMMETRICS badmetrics =
 {
     INT_MAX,	    	    	    	    	    /* C */
-    LONG_MAX,	    	    	    	    	    /* UV */
+    INT_MAX,	    	    	    	    	    /* UV */
     FLT_MAX,	    	    	    	    	    /* WX */
     NULL,   	    	    	    	    	    /* N */
     { FLT_MAX, FLT_MAX, FLT_MAX, FLT_MAX }, 	    /* B */




More information about the wine-cvs mailing list