virtio: console: Fix type of 'len' as unsigned int

We declare 'len' as int type but it should be 'unsigned int', as
get_buf() wants it to be.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reported-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
Amit Shah 2010-02-24 10:36:51 +05:30
commit 604b2ad7cc