Introduction
Introduction Statistics Contact Development Disclaimer Help
fix typo and compile error - chess-puzzles - chess puzzle book generator
git clone git://git.codemadness.org/chess-puzzles
Log
Files
Refs
README
LICENSE
---
commit d9c1c31debf454d25aaebc6eb90a2bca3e1eb52e
parent e1243f806a094c73adcc8bb2dd8633ff852ba1e4
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 20 Dec 2023 22:39:53 +0100
fix typo and compile error
Tested on OpenBSD.
Diffstat:
M fen.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/fen.c b/fen.c
@@ -465,7 +465,7 @@ main(int argc, char *argv[])
long l;
#ifdef __OpenBSD__
- if (pledge("stdio", NULL) = -1)
+ if (pledge("stdio", NULL) == -1)
err(1, "pledge");
#endif
@@ -493,6 +493,7 @@ main(int argc, char *argv[])
}
}
next:
+ ;
}
if (i < argc) {
fen = argv[i];
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.