test556: Fixed compilation warning
authorSteve Holme <steve_holme@hotmail.com>
Sun, 28 Dec 2014 20:32:46 +0000 (20:32 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 28 Dec 2014 20:32:46 +0000 (20:32 +0000)
lib556.c:90: warning: conversion to 'unsigned int' from 'size_t' may
             alter its value

tests/libtest/Makefile.inc
tests/libtest/lib556.c

index 35d6e86b4568067748117319d31aa001c3b368bc..c07dd9a7a939e5a4e4f52d10c10d985b3b1279f0 100644 (file)
@@ -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)
index 98062209f60c54985293ab9b2dad0fed4a34c6d9..a4b4b93bb995604eece86807c2bb117bdeffa911 100644 (file)
@@ -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?) */