]> granicus.if.org Git - gc/commit
cord tests: Suppress GCC warnings in 'de' app
authorIvan Maidanski <ivmai@mail.ru>
Sat, 16 Jun 2012 07:57:18 +0000 (11:57 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 16 Jun 2012 07:58:32 +0000 (11:58 +0400)
commit650ea8662fa85d7e35755f1dcf75d9dcb6075dbc
tree31dc6450e8854fae7b35fb16fd5b14a0d9255005
parente870802a19c103302aaac993c40419ba34d3ff3d
cord tests: Suppress GCC warnings in 'de' app

* cord/tests/de.c (retrieve_line): Change type of "eol" local variable
from int to size_t (to prevent "comparison between signed and unsigned"
compiler warning).
* cord/tests/de_win.c (WinMain): Cast GetLastError() result to
unsigned int (to match printf format specifier).
* cord/tests/de_win.c (AboutBoxCallback): Suppress "unused parameter"
compiler warning for "lParam" (by casting the later to void).
cord/tests/de.c
cord/tests/de_win.c