Commit 94d387a9 authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'TestDriver-fix-Wconversion'

221ffabf TestDriver: Fix -Wconversion warning
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1058
parents 8ff5aeb7 221ffabf
......@@ -32,8 +32,8 @@ static functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
{ NULL, NULL } /* NOLINT */
};
static const int NumTests =
(sizeof(cmakeGeneratedFunctionMapEntries) / sizeof(functionMapEntry)) - 1;
static const int NumTests = CM_CAST(int,
sizeof(cmakeGeneratedFunctionMapEntries) / sizeof(functionMapEntry)) - 1;
/* Allocate and create a lowercased copy of string
(note that it has to be free'd manually) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment