summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testProcess.c
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-09-30 15:41:34 (GMT)
committerDavid Cole <david.cole@kitware.com>2009-09-30 15:41:34 (GMT)
commita9dcc7fd47048a25f79f04a0d0a57a81aede617b (patch)
tree367c4e907bdab9961e981e44a40de016fa7a574c /Source/kwsys/testProcess.c
parent67530409a91156b06b3f8076bbd2e96969319fd4 (diff)
downloadCMake-a9dcc7fd47048a25f79f04a0d0a57a81aede617b.zip
CMake-a9dcc7fd47048a25f79f04a0d0a57a81aede617b.tar.gz
CMake-a9dcc7fd47048a25f79f04a0d0a57a81aede617b.tar.bz2
Fix warnings in CMake source code. Suppress warnings in Lexer and Parser files that are 'too hard' to fix.
Diffstat (limited to 'Source/kwsys/testProcess.c')
-rw-r--r--Source/kwsys/testProcess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c
index 7c858db..0060c4d 100644
--- a/Source/kwsys/testProcess.c
+++ b/Source/kwsys/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);
}
}