From: nishi Date: Mon, 27 May 2024 04:27:00 +0000 (+0000) Subject: watcom issue X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a94074736cea41b20c06284a06e85b8b7aa4024d;p=dataworks.git watcom issue git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@124 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- 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;