From 10b65003102675bd19c0e5174ff249be2a163bc7 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 11 Sep 2024 19:48:57 +0200 Subject: Simplified solver --- src/solvers/h48/gendata_h48.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/solvers/h48/gendata_h48.h') diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h index f276eca..066c650 100644 --- a/src/solvers/h48/gendata_h48.h +++ b/src/solvers/h48/gendata_h48.h @@ -152,13 +152,14 @@ gendata_h48(gendata_h48_arg_t *arg) goto gendata_h48_error; } - if (arg->buf == 0) + if (arg->buf == NULL) goto gendata_h48_return_size; if (!readtableinfo(arg->buf, &cocsepinfo)) { LOG("gendata_h48: could not read info for cocsep table\n"); goto gendata_h48_error; } + cocsepinfo.next = cocsepsize; if (!writetableinfo(&cocsepinfo, arg->buf)) { LOG("gendata_h48: could not write info for cocsep table" -- cgit v1.3