Skip to content

Commit d2454e4

Browse files
author
Alex Smith
committed
Fix for the build on 32-bit systems
1 parent 34cfc62 commit d2454e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libnethack/src/cmd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* vim:set cin ft=c sw=4 sts=4 ts=8 et ai cino=Ls\:0t0(0 : -*- mode:c;fill-column:80;tab-width:8;c-basic-offset:4;indent-tabs-mode:nil;c-file-style:"k&r" -*-*/
2-
/* Last modified by Alex Smith, 2017-06-29 */
2+
/* Last modified by Alex Smith, 2017-07-15 */
33
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
44
/* NetHack may be freely redistributed. See license for details. */
55

@@ -868,7 +868,7 @@ doattributes(const struct nh_cmd_arg *arg)
868868
add_menutext(&menu, buf);
869869

870870
wc = weight_cap();
871-
buf = msgprintf("%-10s: %ld (", "burden", inv_weight_total());
871+
buf = msgprintf("%-10s: %d (", "burden", inv_weight_total());
872872

873873
switch (calc_capacity(wc / 4)) {
874874
case UNENCUMBERED:

0 commit comments

Comments
 (0)