View | Details | Raw Unified | Return to bug 208841
Collapse All | Expand All

(-)games/el/files/patch-icon__window.cpp (+11 lines)
Line 0 Link Here
1
--- icon_window.cpp.orig	2014-01-06 13:53:40 UTC
2
+++ icon_window.cpp
3
@@ -358,7 +358,7 @@ namespace IconWindow
4
 		size_t index = (has_highlight)? 1: 0;
5
 		if (flashing)
6
 		{
7
-			if (abs(SDL_GetTicks() - last_flash_change) > 250)
8
+			if (abs((Sint32)(SDL_GetTicks() - last_flash_change)) > 250)
9
 			{
10
 				last_flash_change = SDL_GetTicks();
11
 				flashing--;
(-)games/el/files/patch-item__lists.cpp (+11 lines)
Line 0 Link Here
1
--- item_lists.cpp.orig	2014-01-06 13:53:40 UTC
2
+++ item_lists.cpp
3
@@ -796,7 +796,7 @@ namespace ItemLists
4
 	{
5
 		if (!last_mod_time)
6
 			return;
7
-		if (force || (last_mod_time && abs(last_mod_time - SDL_GetTicks()) > 5000))
8
+		if (force || (last_mod_time && abs((Sint32)(last_mod_time - SDL_GetTicks())) > 5000))
9
 			save();
10
 	}
11
 
(-)games/el/files/patch-quest__log.cpp (+11 lines)
Line 0 Link Here
1
--- quest_log.cpp.orig	2014-01-06 13:53:40 UTC
2
+++ quest_log.cpp
3
@@ -85,7 +85,7 @@ class Quest_Title_Request
4
 		Uint16 get_id(void) const { return id; }
5
 		void request(void);
6
 		bool been_requested(void) const { return requested; }
7
-		bool is_too_old(void) const { return (abs(SDL_GetTicks() - request_time) > 5000); }
8
+		bool is_too_old(void) const { return (abs((Sint32)(SDL_GetTicks() - request_time)) > 5000); }
9
 	private:
10
 		Uint16 id;
11
 		Uint32 request_time;

Return to bug 208841