From 2c7d2046332fd012509a3d89d5a63ecef1be17f4 Mon Sep 17 00:00:00 2001 From: "Kasper F. Brandt" Date: Thu, 12 Feb 2015 10:50:09 +0100 Subject: [PATCH] fix copy paste errors in llabs test --- src/pal/tests/palsuite/c_runtime/llabs/test1/test1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pal/tests/palsuite/c_runtime/llabs/test1/test1.c b/src/pal/tests/palsuite/c_runtime/llabs/test1/test1.c index 0f01fac..486f3a9 100644 --- a/src/pal/tests/palsuite/c_runtime/llabs/test1/test1.c +++ b/src/pal/tests/palsuite/c_runtime/llabs/test1/test1.c @@ -42,18 +42,18 @@ int __cdecl main(int argc, char **argv) return FAIL; } - /* Loop through each case. Call labs on each LONG and ensure that + /* Loop through each case. Call llabs on each __int64 and ensure that the resulting value is correct. */ for(i = 0; i < sizeof(testCases) / sizeof(struct testCase); i++) { - /* Absolute value on a LONG */ + /* Absolute value on an __int64 */ result = llabs(testCases[i].LongLongValue); if (testCases[i].AbsoluteLongLongValue != result) { - Fail("ERROR: labs took the absoulte value of '%d' to be '%d' " + Fail("ERROR: llabs took the absoulte value of '%d' to be '%d' " "instead of %d.\n", testCases[i].LongLongValue, result, -- 2.7.4