• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisionbf87c763630edd7b2e22948d1be566a1ea9c30f9 (tree)
Time2019-02-05 13:14:53
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Fix] #37353 型の置換による警告修正。 / Fix warning for type replacement.

Change Summary

Incremental Difference

--- a/src/cmd4.c
+++ b/src/cmd4.c
@@ -6213,11 +6213,10 @@ static void display_visual_list(int col, int row, int height, int width, TERM_CO
62136213 /* Display columns until done */
62146214 for (j = 0; j < width; j++)
62156215 {
6216- TERM_COLOR a;
6217- SYMBOL_CODE c;
6216+ TERM_COLOR a, ia;
6217+ SYMBOL_CODE c, ic;
62186218 TERM_LEN x = col + j;
62196219 TERM_LEN y = row + i;
6220- int ia, ic;
62216220
62226221 /* Bigtile mode uses double width */
62236222 if (use_bigtile) x += j;
--- a/src/spells1.c
+++ b/src/spells1.c
@@ -6370,11 +6370,11 @@ bool project(MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, HIT_POINT da
63706370
63716371 for (i = 0; i < path_n; ++i)
63726372 {
6373- int oy = y;
6374- int ox = x;
6373+ POSITION oy = y;
6374+ POSITION ox = x;
63756375
6376- int ny = GRID_Y(path_g[i]);
6377- int nx = GRID_X(path_g[i]);
6376+ POSITION ny = GRID_Y(path_g[i]);
6377+ POSITION nx = GRID_X(path_g[i]);
63786378
63796379 /* Advance */
63806380 y = ny;
Show on old repository browser