From cb3158ebcf2c10d15aef08cc29b6e507dcd3cd98 Mon Sep 17 00:00:00 2001 From: nothere Date: Sun, 14 Dec 2003 16:51:25 +0000 Subject: [PATCH] =?utf8?q?1.174=E3=81=AE=E8=AD=A6=E5=91=8A=E9=99=A4?= =?utf8?q?=E5=8E=BB=E3=81=A7=20"=E5=80=92=E3=81=97=E3=81=9F=E3=83=A6?= =?utf8?q?=E3=83=8B=E3=83=BC=E3=82=AF=E6=95=B0=E3=81=8C10=E4=BD=93?= =?utf8?q?=E4=BB=A5=E4=B8=8B=E3=81=AE=E6=99=82=E3=83=A9=E3=83=B3=E3=82=AD?= =?utf8?q?=E3=83=B3=E3=82=B0=E3=81=8C=E3=83=80=E3=83=B3=E3=83=97=E3=81=AB?= =?utf8?q?=20=E8=BC=89=E3=82=89=E3=81=AA=E3=81=84"=20=E3=81=A8=E3=81=84?= =?utf8?q?=E3=81=86=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3=E3=81=97?= =?utf8?q?=E3=81=A6=E3=81=84=E3=81=9F=E3=81=93=E3=81=A8=E3=81=AB=E9=96=A2?= =?utf8?q?=E9=80=A3=E3=81=97,=20=E3=83=A2=E3=83=B3=E3=82=B9=E3=82=BF?= =?utf8?q?=E3=83=BC=E6=95=B0=E3=81=AE=E3=83=87=E3=83=BC=E3=82=BF=20?= =?utf8?q?=E5=9E=8B=E3=82=92unsigned=20long=E3=81=8B=E3=82=89long=E3=81=AB?= =?utf8?q?=E7=9B=B4=E3=81=97=E3=81=9F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/files.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/files.c b/src/files.c index ae6e75152..25007aa87 100644 --- a/src/files.c +++ b/src/files.c @@ -4593,8 +4593,8 @@ static void dump_aux_monsters(FILE *fff) /* Monsters slain */ int k; - unsigned long uniq_total = 0; - unsigned long norm_total = 0; + long uniq_total = 0; + long norm_total = 0; s16b *who; /* Sort by monster level */ @@ -4655,9 +4655,9 @@ static void dump_aux_monsters(FILE *fff) else if (uniq_total == 0) { #ifdef JP - fprintf(fff,"%luÂΤÎŨ¤òÅݤ·¤Æ¤¤¤Þ¤¹¡£\n", norm_total); + fprintf(fff,"%ldÂΤÎŨ¤òÅݤ·¤Æ¤¤¤Þ¤¹¡£\n", norm_total); #else - fprintf(fff,"You have defeated %lu %s.\n", norm_total, norm_total == 1 ? "enemy" : "enemies"); + fprintf(fff,"You have defeated %ld %s.\n", norm_total, norm_total == 1 ? "enemy" : "enemies"); #endif } @@ -4665,9 +4665,9 @@ static void dump_aux_monsters(FILE *fff) else /* if (uniq_total > 0) */ { #ifdef JP - fprintf(fff, "%luÂΤΥæ¥Ë¡¼¥¯¡¦¥â¥ó¥¹¥¿¡¼¤ò´Þ¤à¡¢¹ç·×%luÂΤÎŨ¤òÅݤ·¤Æ¤¤¤Þ¤¹¡£\n", uniq_total, norm_total); + fprintf(fff, "%ldÂΤΥæ¥Ë¡¼¥¯¡¦¥â¥ó¥¹¥¿¡¼¤ò´Þ¤à¡¢¹ç·×%ldÂΤÎŨ¤òÅݤ·¤Æ¤¤¤Þ¤¹¡£\n", uniq_total, norm_total); #else - fprintf(fff, "You have defeated %lu %s including %lu unique monster%s in total.\n", norm_total, norm_total == 1 ? "enemy" : "enemies", uniq_total, (uniq_total == 1 ? "" : "s")); + fprintf(fff, "You have defeated %ld %s including %ld unique monster%s in total.\n", norm_total, norm_total == 1 ? "enemy" : "enemies", uniq_total, (uniq_total == 1 ? "" : "s")); #endif @@ -4679,13 +4679,13 @@ static void dump_aux_monsters(FILE *fff) ang_sort(who, &why, uniq_total); #ifdef JP - fprintf(fff, "\n¡Ô¾å°Ì%luÂΤΥæ¥Ë¡¼¥¯¡¦¥â¥ó¥¹¥¿¡¼¡Õ\n", MIN(uniq_total, 10)); + fprintf(fff, "\n¡Ô¾å°Ì%ldÂΤΥæ¥Ë¡¼¥¯¡¦¥â¥ó¥¹¥¿¡¼¡Õ\n", MIN(uniq_total, 10)); #else - fprintf(fff, "\n< Unique monsters top %lu >\n", MIN(uniq_total, 10)); + fprintf(fff, "\n< Unique monsters top %ld >\n", MIN(uniq_total, 10)); #endif /* Print top 10 */ - for (k = uniq_total - 1; k >= 0 && k >= (long)uniq_total - 10; k--) + for (k = uniq_total - 1; k >= 0 && k >= uniq_total - 10; k--) { monster_race *r_ptr = &r_info[who[k]]; -- 2.11.0