X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fgeneric.c;fp=palacios%2Fsrc%2Fdevices%2Fgeneric.c;h=c6dd8d61f0a67aa7276e4bd0afc57ac5534d46f7;hp=fbeff20bea1f8f494320e4437c8fa3efaf4156f4;hb=3a4e54ec208ea3589963b410d2d73292bbc4a8fe;hpb=8a441df14ef65bb559ce090249343ec1dac1a7fc diff --git a/palacios/src/devices/generic.c b/palacios/src/devices/generic.c index fbeff20..c6dd8d6 100644 --- a/palacios/src/devices/generic.c +++ b/palacios/src/devices/generic.c @@ -92,11 +92,11 @@ static int generic_write_port_passthrough(uint16_t port, void * src, v3_outw(port,((uint16_t*)src)[0]); break; case 4: - v3_outdw(port,((uint_t*)src)[0]); + v3_outdw(port,((uint32_t *)src)[0]); break; default: for (i = 0; i < length; i++) { - v3_outb(port, ((uchar_t*)src)[i]); + v3_outb(port, ((uchar_t *)src)[i]); } }