comparison settings.c @ 438:04cb2d6e4f93 src tip

In vm_new_vm(), use the proper calloc() argument order .. and don't derive 1 from the unrelated sizeof(char). Fixes the scan-anaylzer "API violation" warning: Result of 'calloc' is converted to a pointer of type 'vm_t', which is incompatible with sizeof operand type 'char' Patch by Fabian Keil <fk AT fabiankeil DOT de>
author rathann
date Wed, 04 Dec 2013 23:02:01 +0000
parents 9c5aef10d165
children
comparison
equal deleted inserted replaced
437:d8ec83537d07 438:04cb2d6e4f93