diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-12-28 20:32:46 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-28 20:32:46 +0000 |
commit | 8f4014538415603eacb9ed43fe80201565013595 (patch) | |
tree | cafe199813542776d6f20655f07f56d443579d95 /tests/libtest | |
parent | 6e7904f9aa25491faa9f433287680851965af27e (diff) | |
download | curl-8f4014538415603eacb9ed43fe80201565013595.tar.gz |
test556: Fixed compilation warning
lib556.c:90: warning: conversion to 'unsigned int' from 'size_t' may
alter its value
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/Makefile.inc | 2 | ||||
-rw-r--r-- | tests/libtest/lib556.c | 3 |
2 files changed, 3 insertions, 2 deletions
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, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, 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?) */ |