Mercurial > libdvdnav.hg
view vm/Makefile.am @ 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 | bba82ef5d75a |
children |
line wrap: on
line source
include $(top_srcdir)/misc/Makefile.common includedir = ${prefix}/include/dvdnav AM_CPPFLAGS = -DDVDNAV_COMPILE $(THREAD_CFLAGS) $(DVDREAD_CFLAGS) \ -I$(top_srcdir)/src noinst_LTLIBRARIES = libdvdvm.la libdvdvm_la_SOURCES = decoder.c vm.c vmcmd.c libdvdvm_la_LDFLAGS = $(THREAD_LIBS) include_HEADERS = noinst_HEADERS = decoder.h vm.h vmcmd.h