python: Properly cast the buffer arguments to PyString_FromStringAndSize()
commit582a0a01afc29903253f24d98abdb015d92fe6e1
authorAlberto Bertogli <albertito@blitiri.com.ar>
Sun, 7 Dec 2008 13:47:24 +0000 (7 11:47 -0200)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Sun, 7 Dec 2008 13:47:24 +0000 (7 11:47 -0200)
tree06068557a1d62b89d71fd46eec0e3c9c9686655d
parenta25933b0dc80e3dc730e350537f2ec8689626131
python: Properly cast the buffer arguments to PyString_FromStringAndSize()

PyString_FromStringAndSize() expects a char *, and we're giving them an
unsigned char *, which makes the compiler complain. So we just cast it,
there's no downside because PyString_FromStringAndSize() doesn't really
care about what's in the buffer.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
bindings/python/nmdb_ll.c