| Submitter | Stefan Hajnoczi |
|---|---|
| Date | Dec. 2, 2011, 1:50 p.m. |
| Message ID | <1322833833-9969-3-git-send-email-stefanha@linux.vnet.ibm.com> |
| Download | mbox | patch |
| Permalink | /patch/128857/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/qxl-render.c b/hw/qxl-render.c index 2c51ba9..133d093 100644 --- a/hw/qxl-render.c +++ b/hw/qxl-render.c @@ -157,7 +157,7 @@ static QEMUCursor *qxl_cursor(PCIQXLDevice *qxl, QXLCursor *cursor) { QEMUCursor *c; uint8_t *image, *mask; - int size; + size_t size; c = cursor_alloc(cursor->header.width, cursor->header.height); c->hot_x = cursor->header.hot_spot_x;