net/9p: Use proper data types
authorM. Mohan Kumar <mohan@in.ibm.com>
Mon, 10 Jan 2011 20:23:53 +0000 (14:23 -0600)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 11 Jan 2011 15:58:07 +0000 (09:58 -0600)
commit219fd58be62d01e30224c7af919dea77b7e392a8
tree88db8ad84951f7e0c265175627f379f79d26a88c
parentaf7542fc8ac678ce69dbd5c9643c52897b47c66f
net/9p: Use proper data types

Use proper data types for storing the count of the binary blob and
length of a string. Without this patch length calculation of string will
always result in -1 because of comparision between signed and unsigned
integer.

Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/protocol.c