diff src/console/Sap_Cpu.h @ 2238:240bdf781ad0

eliminate warnings on x86_64.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Mon, 17 Dec 2007 18:04:53 +0900
parents 986f098da058
children
line wrap: on
line diff
--- a/src/console/Sap_Cpu.h	Sun Dec 16 21:00:58 2007 +0900
+++ b/src/console/Sap_Cpu.h	Mon Dec 17 18:04:53 2007 +0900
@@ -8,7 +8,7 @@
 
 typedef blargg_long sap_time_t; // clock cycle count
 typedef unsigned sap_addr_t; // 16-bit address
-enum { future_sap_time = LONG_MAX / 2 + 1 };
+enum { future_sap_time = INT_MAX / 2 + 1 };
 
 class Sap_Cpu {
 public: