aboutsummaryrefslogtreecommitdiff
path: root/src/pptdb.c
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-02-02 19:23:54 -0500
committertslil <tslil@posteo.de>2021-02-05 00:12:18 -0500
commit4f20d9fd63b6b3e30130c84c20f7cdbbbf2df76d (patch)
tree99d86e8f90e8aa19b35875ea8ba624c50c467857 /src/pptdb.c
parent41b5dc810e25724e8111cf7f2ad1b4b52f9b1206 (diff)
TEI interface working!
Diffstat (limited to 'src/pptdb.c')
-rw-r--r--src/pptdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pptdb.c b/src/pptdb.c
index e3fd687..bb94987 100644
--- a/src/pptdb.c
+++ b/src/pptdb.c
@@ -75,10 +75,10 @@ write_input(const int dx, const int dy, const uint8_t swap) {
}
// Warning: performs _no_ checks on input whatsoever
-static enum E_RESULT
+static enum ACT_RESULT
parse_line(const char *pt, const ssize_t read) {
ssize_t idx;
- enum E_RESULT r;
+ enum ACT_RESULT r;
int total_plies = 0;
for (idx=0;idx<read;idx++) {
@@ -159,7 +159,7 @@ This program comes with ABSOLUTELY NO WARRANTY; and is made available under the
int main(int argc, char **argv) {
(void)(argc);
- enum E_RESULT r;
+ enum ACT_RESULT r;
enum WIN_TYPE win;
uint32_t games = 0, overflow=0, illegal = 0;
uint32_t road_wins=0, flat_wins=0, road_turns=0, flat_turns=0,