From: Steve Holme Date: Sun, 28 Dec 2014 20:32:46 +0000 (+0000) Subject: test556: Fixed compilation warning X-Git-Tag: curl-7_40_0~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f4014538415603eacb9ed43fe80201565013595;p=thirdparty%2Fcurl.git test556: Fixed compilation warning lib556.c:90: warning: conversion to 'unsigned int' from 'size_t' may alter its value --- diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc index 35d6e86b45..c07dd9a7a9 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 98062209f6..a4b4b93bb9 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?) */