summaryrefslogtreecommitdiff
path: root/src/map/path.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-22 14:06:37 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-22 14:06:37 +0000
commit7e475e75934820e41b9cdff14d69ef75ad446da5 (patch)
tree66ca60af89b02f055515e19f83935299c36c2b75 /src/map/path.c
parent8e24391458a6584315c33a3a8423358d9f65785f (diff)
downloadhercules-7e475e75934820e41b9cdff14d69ef75ad446da5.tar.gz
hercules-7e475e75934820e41b9cdff14d69ef75ad446da5.tar.bz2
hercules-7e475e75934820e41b9cdff14d69ef75ad446da5.tar.xz
hercules-7e475e75934820e41b9cdff14d69ef75ad446da5.zip
* Resolved random compiler warnings.
- Silenced pointer size mismatch gcc warning for variables passed to script_setarray_pc (bugreport:4661, since r14613). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14615 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/path.c')
-rw-r--r--src/map/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/path.c b/src/map/path.c
index e2e3ae44b..bbbb99a08 100644
--- a/src/map/path.c
+++ b/src/map/path.c
@@ -345,7 +345,7 @@ bool path_search(struct walkpath_data *wpd,int m,int x0,int y0,int x1,int y1,int
xs = md->xs-1; // あらかじめ1減算しておく
ys = md->ys-1;
- while(1)
+ for(;;)
{
int e=0,f=0,dist,cost,dc[4]={0,0,0,0};