Changeset: fce6b9ca68cd for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/fce6b9ca68cd Modified Files: clients/mapiclient/dump.c Branch: default Log Message:
Add a cast. diffs (12 lines): diff --git a/clients/mapiclient/dump.c b/clients/mapiclient/dump.c --- a/clients/mapiclient/dump.c +++ b/clients/mapiclient/dump.c @@ -2188,7 +2188,7 @@ dump_table(Mapi mid, const char *schema, fprintf(stderr, "no tables matching %s.%s\n", schema, tname); goto doreturn; } - tables = malloc(rows * sizeof(struct tables)); + tables = malloc((size_t) rows * sizeof(struct tables)); if (tables == NULL) { mapi_close_handle(hdl); fprintf(stderr, "malloc failure\n"); _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org