From a94074736cea41b20c06284a06e85b8b7aa4024d Mon Sep 17 00:00:00 2001 From: nishi Date: Mon, 27 May 2024 04:27:00 +0000 Subject: [PATCH] watcom issue git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@124 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Library/exec.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/exec.c b/Library/exec.c index 01f07c5..e6add8e 100644 --- a/Library/exec.c +++ b/Library/exec.c @@ -223,7 +223,10 @@ struct dataworks_db_result* __dataworks_database_execute_code(struct dataworks_d } else { double dn = 123123; int64_t in = 123123; - void* data[3] = {"data", &dn, &in}; + void* data[3]; + data[0] = "data"; + data[1] = &dn; + data[2] = ∈ struct dataworks_db_result* dbr = dataworks_database_insert_record(db, data, "SSS"); if(dbr->error) { r->error = true; -- 2.43.0