From 8f4014538415603eacb9ed43fe80201565013595 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 28 Dec 2014 20:32:46 +0000 Subject: test556: Fixed compilation warning lib556.c:90: warning: conversion to 'unsigned int' from 'size_t' may alter its value --- tests/libtest/Makefile.inc | 2 +- tests/libtest/lib556.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/libtest') diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc index 35d6e86b4..c07dd9a7a 100644 --- a/tests/libtest/Makefile.inc +++ b/tests/libtest/Makefile.inc @@ -195,7 +195,7 @@ lib555_SOURCES = lib555.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) lib555_LDADD = $(TESTUTIL_LIBS) lib555_CPPFLAGS = $(AM_CPPFLAGS) -lib556_SOURCES = lib556.c $(SUPPORTFILES) +lib556_SOURCES = lib556.c $(SUPPORTFILES) $(WARNLESS) lib556_CPPFLAGS = $(AM_CPPFLAGS) lib557_SOURCES = lib557.c $(SUPPORTFILES) diff --git a/tests/libtest/lib556.c b/tests/libtest/lib556.c index 98062209f..a4b4b93bb 100644 --- a/tests/libtest/lib556.c +++ b/tests/libtest/lib556.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2014, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -21,6 +21,7 @@ ***************************************************************************/ #include "test.h" +#include "warnless.h" #include "memdebug.h" /* For Windows, mainly (may be moved in a config file?) */ -- cgit v1.2.3