From fd357113e7864e17fc66f5d6849415122811f1b7 Mon Sep 17 00:00:00 2001 From: David Cole <david.cole@kitware.com> Date: Wed, 30 Sep 2009 11:41:34 -0400 Subject: [PATCH] Fix warnings in CMake source code. Suppress warnings in Lexer and Parser files that are 'too hard' to fix. --- kwsysDateStamp.cmake | 2 +- testProcess.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kwsysDateStamp.cmake b/kwsysDateStamp.cmake index 380dfa94..fee4324a 100644 --- a/kwsysDateStamp.cmake +++ b/kwsysDateStamp.cmake @@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2009) SET(KWSYS_DATE_STAMP_MONTH 09) # KWSys version date day component. Format is DD. -SET(KWSYS_DATE_STAMP_DAY 28) +SET(KWSYS_DATE_STAMP_DAY 30) diff --git a/testProcess.c b/testProcess.c index 7c858dbe..0060c4d1 100644 --- a/testProcess.c +++ b/testProcess.c @@ -266,7 +266,7 @@ int runChild2(kwsysProcess* kp, } else { - fwrite(data, 1, length, stdout); + fwrite(data, 1, (size_t) length, stdout); fflush(stdout); } } -- GitLab