From 2bc59ef9db7a86d0c483e3848ead57d6d691e6a3 Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 18 Oct 2007 21:25:26 +0000 Subject: Fixed numerous /W4 warnings (and created more :) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11514 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index 3263a6ed8..db4f7d077 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2153,9 +2153,9 @@ int map_check_dir(int s_dir,int t_dir) /*========================================== * Returns the direction of the given cell, relative to 'src' *------------------------------------------*/ -int map_calc_dir(struct block_list* src, int x, int y) +uint8 map_calc_dir(struct block_list* src, int x, int y) { - int dir = 0; + unsigned char dir = 0; int dx, dy; nullpo_retr(0, src); -- cgit v1.2.3-70-g09d2