weston/tools/zunitc/src
Quentin Glidic 9c36eb912e
zunitc/junit-reporter: Silence pointer-sign warning
/usr/x86_64-pc-linux-gnu/include/libxml2/libxml/xmlstring.h:35:18:
warning: pointer targets in passing argument 3 of 'xmlStrPrintf' differ
in signedness [-Wpointer-sign]
 #define BAD_CAST (xmlChar *)
                  ^
tools/zunitc/src/zuc_junit_reporter.c:77:41: note: in expansion of macro
'BAD_CAST'
  xmlStrPrintf(scratch, sizeof(scratch), BAD_CAST %d, value);
                                         ^~~~~~~~
/usr/x86_64-pc-linux-gnu/include/libxml2/libxml/xmlstring.h:98:17: note:
expected 'const char *' but argument is of type 'xmlChar * {aka unsigned
char *}'
                 xmlStrPrintf             (xmlChar *buf,

Warning produced by GCC 5.3, 6.1 and Clang 3.8.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Armin Krezović <krezovic.armin@gmail.com>
Tested-by: Armin Krezović <krezovic.armin@gmail.com>
2016-09-24 11:46:36 +02:00
..
main.c Added simple unit/integration test framework and corresponding test program. 2015-07-07 15:47:08 +03:00
zuc_base_logger.c zunitc: use platform-independent macros for integer formatting 2016-05-19 17:15:56 -07:00
zuc_base_logger.h Added simple unit/integration test framework and corresponding test program. 2015-07-07 15:47:08 +03:00
zuc_collector.c Added simple unit/integration test framework and corresponding test program. 2015-07-07 15:47:08 +03:00
zuc_collector.h Added simple unit/integration test framework and corresponding test program. 2015-07-07 15:47:08 +03:00
zuc_context.h Added simple unit/integration test framework and corresponding test program. 2015-07-07 15:47:08 +03:00
zuc_event.h Added simple unit/integration test framework and corresponding test program. 2015-07-07 15:47:08 +03:00
zuc_event_listener.h Added simple unit/integration test framework and corresponding test program. 2015-07-07 15:47:08 +03:00
zuc_junit_reporter.c zunitc/junit-reporter: Silence pointer-sign warning 2016-09-24 11:46:36 +02:00
zuc_junit_reporter.h Enables output in the JUnit XML format. 2015-07-17 13:27:39 +03:00
zuc_types.h Added simple unit/integration test framework and corresponding test program. 2015-07-07 15:47:08 +03:00
zunitc_impl.c zunitc: remove break after return 2016-04-05 15:57:30 -07:00