]> git.saurik.com Git - wxWidgets.git/commit - samples/sockets/baseserver.cpp
Fix wrong format specifiers in the samples.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 17 May 2012 16:10:19 +0000 (16:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 17 May 2012 16:10:19 +0000 (16:10 +0000)
commit3ecb4c01f276f9050d1e976a0791ea496cca5c18
tree3ded7cdc4d29a584321506acb698274ac34608e5
parentf2c757c5cc31459c1f8adfd321a9cf9fcd429f53
Fix wrong format specifiers in the samples.

Use "%ld" instead of "%d" to format long values, using "%d" results in an
assert failure under LP64 systems as int and long have different sizes there.

Closes #14311.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/sockets/baseserver.cpp
samples/sockets/client.cpp