]> granicus.if.org Git - libatomic_ops/commit
Fix variable type to match printf format specifier in test_stack
authorIvan Maidanski <ivmai@mail.ru>
Mon, 8 Oct 2012 20:06:19 +0000 (00:06 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 8 Oct 2012 20:06:19 +0000 (00:06 +0400)
commit1b3c02cfe3214e4d91314d4eec2ca9d28aa58cc3
tree7efb130cdedf011c6192eaf9f8e63f6ff122c73b
parentb85dea658ffd1aeee5b6d378cf7bc665805b3a5a
Fix variable type to match printf format specifier in test_stack

* tests/test_stack.c (run_one_test): Change type of "index" local
variable from long to int to match printf format specifier (when
VERBOSE defined); cast from "arg" pointer to integer via size_t (to
avoid 64-bit compiler warning).
tests/test_stack.c