projects
/
platform
/
upstream
/
cmocka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c5ac6b5
)
src: Fixed integer conversion warning on HPUX.
author
ademin
<devnull@localhost>
Sat, 13 Feb 2010 18:12:29 +0000
(18:12 +0000)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 31 May 2011 17:59:46 +0000
(19:59 +0200)
This fixes cmockery issue #10.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
src/cmockery.c
patch
|
blob
|
history
diff --git
a/src/cmockery.c
b/src/cmockery.c
index 889ffee779789a31cb08d6235d244afdf62f3c39..ec9233325319547660d655504a0555caa108919c 100755
(executable)
--- a/
src/cmockery.c
+++ b/
src/cmockery.c
@@
-1769,7
+1769,7
@@
int _run_tests(const UnitTest * const tests, const size_t number_of_tests) {
if (number_of_test_states) {
print_error("[ ERROR ] Mismatched number of setup %d and "
"teardown %d functions\n", setups, teardowns);
if (number_of_test_states) {
print_error("[ ERROR ] Mismatched number of setup %d and "
"teardown %d functions\n", setups, teardowns);
- total_failed = -1;
+ total_failed =
(size_t)
-1;
}
free(test_states);
}
free(test_states);