summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-10-19 11:27:36 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-10-19 11:27:36 +0800
commit165271517666eddb2c286d442b624aafbc6a0f06 (patch)
tree19bf010491e2171af4df3521a9f6f055b370ba24
parente6e0b1ddc00ca1cfbd6aa8f777966af8f8250a4b (diff)
downloadpttbbs-165271517666eddb2c286d442b624aafbc6a0f06.tar
pttbbs-165271517666eddb2c286d442b624aafbc6a0f06.tar.gz
pttbbs-165271517666eddb2c286d442b624aafbc6a0f06.tar.bz2
pttbbs-165271517666eddb2c286d442b624aafbc6a0f06.tar.lz
pttbbs-165271517666eddb2c286d442b624aafbc6a0f06.tar.xz
pttbbs-165271517666eddb2c286d442b624aafbc6a0f06.tar.zst
pttbbs-165271517666eddb2c286d442b624aafbc6a0f06.zip
* make anonymous handle always look positive
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4939 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 4b295251..0670b711 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -3331,8 +3331,8 @@ view_postinfo(int ent, const fileheader_t * fhdr, const char *direct, int crs_ln
if(fhdr->filemode & FILE_ANONYMOUS)
/* When the file is anonymous posted, fhdr->multi.anon_uid is author.
* see do_general() */
- prints("│ 匿名管理編號: %d (同一人號碼會一樣)",
- fhdr->multi.anon_uid + (int)currutmp->pid);
+ prints("│ 匿名管理編號: %u (同一人號碼會一樣)",
+ (unsigned int)ifhdr->multi.anon_uid + (unsigned int)currutmp->pid);
else {
int m = query_file_money(fhdr);