diff options
author | tron <tron@openttd.org> | 2005-01-09 21:25:44 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-09 21:25:44 +0000 |
commit | 4450ff105c6ddb9ab855b9cf8b4dcbea315b11e0 (patch) | |
tree | 3a16c9375ca0fbd2f06a419b1b0876bf48c7a3e0 /aystar.c | |
parent | d2e02df8814edab9e04437d8208d2e7786dfd999 (diff) | |
download | openttd-4450ff105c6ddb9ab855b9cf8b4dcbea315b11e0.tar.xz |
(svn r1451) Fix some of the signed/unsigned comparison warnings
Diffstat (limited to 'aystar.c')
-rw-r--r-- | aystar.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,7 @@ int AyStarMain_CheckTile(AyStar *aystar, AyStarNode *current, OpenListNode *pare // Check if this item is already in the OpenList if ((check = AyStarMain_OpenList_IsInList(aystar, current)) != NULL) { - int i; + uint i; // Yes, check if this g value is lower.. if (new_g > check->g) return AYSTAR_DONE; aystar->OpenListQueue.del(&aystar->OpenListQueue, check, 0); |