OSDN Git Service

[Fix] #39586 backwardsEric氏より報告の、files.cにおけるコンパイル警告を修正 / Fixed compiler warning for...
authorHourier <hourier@users.sourceforge.jp>
Thu, 23 Jan 2020 13:40:38 +0000 (22:40 +0900)
committerHourier <hourier@users.sourceforge.jp>
Thu, 23 Jan 2020 13:40:38 +0000 (22:40 +0900)
src/files.c

index 6c1cfbb..2063951 100644 (file)
@@ -6091,7 +6091,7 @@ void print_tomb(player_type *dead_ptr)
                put_str(buf, 16, 11);
        }
 #endif
-       time_t ct = time((time_t)0);
+       time_t ct = time((time_t*)0);
        (void)sprintf(tmp, "%-.24s", ctime(&ct));
        center_string(buf, tmp);
        put_str(buf, 17, 11);