summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index dace435c..f52445f2 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1489,7 +1489,7 @@ do_add_recommend(char *direct, fileheader_t *fhdr, int ent, char *buf)
if( (fd = open(direct, O_WRONLY)) < 0 )
return -1;
- ++fhdr->recommend;
+ ++(fhdr->recommend);
if( lseek(fd, (off_t)(sizeof(*fhdr) * (ent - 1) +
(int)&t.recommend - (int)&t),
SEEK_SET) < 0 ||