aboutsummaryrefslogtreecommitdiff
path: root/magnets.c
diff options
context:
space:
mode:
Diffstat (limited to 'magnets.c')
-rw-r--r--magnets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/magnets.c b/magnets.c
index 815f016..5437c61 100644
--- a/magnets.c
+++ b/magnets.c
@@ -2562,7 +2562,7 @@ int main(int argc, const char *argv[])
goto done;
}
s = new_game(NULL, p, desc);
- printf("%s:%s (seed %ld)\n", id, desc, seed);
+ printf("%s:%s (seed %ld)\n", id, desc, (long)seed);
if (aux) {
/* We just generated this ourself. */
if (verbose || print) {