additional casts allow test server build as cpp 94/2994/1
authorAndy Green <andy.green@linaro.org>
Fri, 1 Feb 2013 00:42:15 +0000 (08:42 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:30 +0000 (13:01 -0800)
commit294327a5f1bce95c794d8a629621cca9410eb10f
tree5540fa112816ee4faab290072e5749b17139c587
parent11d299a652e5de536d9b5d6fd17389eae84b6f64
additional casts allow test server build as cpp

With these explicit casts that are not needed in C, it's possible to build
the test server using g++ like this, after building and installing the
library.

g++ -DINSTALL_DATADIR=\"/usr/share\" -ocpptest test.cpp -lwebsockets

Add a small documentation to README.coding

Signed-off-by: Andy Green <andy.green@linaro.org>
README.coding
test-server/test-server.c