Changeset: 2494ccf138e0 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/2494ccf138e0
Modified Files:
monetdb5/mal/mal_prelude.c
Branch: Dec2025
Log Message:
Fix for Visual Studio compiler.
diffs (12 lines):
diff --git a/monetdb5/mal/mal_prelude.c b/monetdb5/mal/mal_prelude.c
--- a/monetdb5/mal/mal_prelude.c
+++ b/monetdb5/mal/mal_prelude.c
@@ -306,7 +306,7 @@ melFunction(bool command, const char *mo
fcn = s->name;
s->allocated = true;
- f = GDKmalloc(sizeof(mel_func) + sizeof(mel_arg [argc]));
+ f = GDKmalloc(sizeof(mel_func) + argc * sizeof(mel_arg));
if (f == NULL) {
freeSymbol(s);
return MEL_ERR;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]