openbsd-ports/devel/cunit/patches/patch-CUnit_Sources_Console_Console_c
jasper 0b8ca0fab6 - update to 2.1.2
* fix a few type-conversion/shadowing warnings
- drop patches since it can be dealt with in FAKE_FLAGS

from Markus Bergkvist (MAINTAINER)
2011-08-19 08:04:02 +00:00

24 lines
744 B
Plaintext

Remove type-conversion compiler warnings, no functional change.
$OpenBSD: patch-CUnit_Sources_Console_Console_c,v 1.1 2011/08/19 08:04:02 jasper Exp $
--- CUnit/Sources/Console/Console.c.orig Wed Mar 14 03:25:32 2007
+++ CUnit/Sources/Console/Console.c Wed Aug 17 20:35:50 2011
@@ -476,7 +476,7 @@ static void list_suites(CU_pTestRegistry pRegistry)
{
CU_pSuite pCurSuite = NULL;
int i;
- static size_t width[6];
+ static int width[6];
if (NULL == pRegistry) {
pRegistry = CU_get_registry();
@@ -533,7 +533,7 @@ static void list_tests(CU_pSuite pSuite)
{
CU_pTest pCurTest = NULL;
unsigned int uiCount;
- static size_t width[3];
+ static int width[3];
assert(NULL != pSuite);
assert(NULL != pSuite->pName);