commit 5c0a994016088d8e1c89c577ad61935590aa6260
parent d6a292110c9944113e8d30ae989a8a1374c18db0
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 8 Oct 2025 09:29:04 +0200
Correction of scem compilation in debug mode
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/scem_main.c b/src/scem_main.c
@@ -65,7 +65,7 @@ parse_algo(const char* str, enum scem_sun_algo* algo)
static res_T
parse_date(const char* str, struct tm* time)
{
- ASSERT(str && date);
+ ASSERT(str && time);
if(!strptime(str, "%Y-%m-%dT%H:%M%S\n", time)) {
return RES_BAD_ARG;
@@ -83,7 +83,7 @@ parse_dbl
{
double dbl = 0;
res_T res = RES_OK;
- ASSERT(str && out_lat && min <= max);
+ ASSERT(str && out_dbl && min <= max);
if((res = cstr_to_double(str, &dbl)) != RES_OK) return res;
if(dbl < min || dbl > max) return RES_BAD_ARG;