Skip to content

core: build fix for recent gcc

Dmitry Ivanov requested to merge funbringer/fix-warnings into 2.11.2-picodata

Summary

  • core: build fix for recent gcc
/home/shiny/dev/tarantool/src/lib/core/coio_task.c:114:58:
	error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument
	and not in the later argument [-Werror=calloc-transposed-args]
  114 |         struct cord *cord = (struct cord *)calloc(sizeof(struct cord), 1);

NO_TEST=build fix NO_CHANGELOG=build fix NO_DOC=build fix

Close #... Docs follow-up: not necessary / new issue

Merge request reports