Skip to content

tests: Remove warning compiling

Frediano Ziglio requested to merge fziglio/spice:ci into master

Remove:

test-display-streaming.c: In function 'get_commands':
test-display-streaming.c:218:42: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
  218 |     *commands = (Command*) calloc(sizeof(Command), *num_commands);
      |                                          ^~~~~~~
test-display-streaming.c:218:42: note: earlier argument should specify number of elements, later size of each element

Merge request reports

Loading