Silence compiler warning about discarding const user/dbs/silence_const_discard
authorDan Scott <dscott@laurentian.ca>
Sat, 20 Apr 2013 02:41:21 +0000 (22:41 -0400)
committerDan Scott <dscott@laurentian.ca>
Sat, 20 Apr 2013 02:41:21 +0000 (22:41 -0400)
commit8a72b7d228ee18873fef392bd4ef4a97da4195e8
treeaa0c7c153fc09f680458318ef373fabaf9152b38
parent9bda0431374055bc4bbe440e3f5f8772022f074a
Silence compiler warning about discarding const

By declaring str as "char *" rather than "const char *", then casting
the result of osrfArrayGetString to (char *), we make the compiler
happier.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
src/gateway/osrf_http_translator.c