[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 3 of 8] Tools: Update memshr tool to use new sharing API



Andres Lagar-Cavilla writes ("[PATCH 3 of 8] Tools: Update memshr tool to use 
new sharing API"):
>  #ifdef MEMSHR
> -       image->memshr_id = memshr_vbd_image_get(file);
> +       image->memshr_id = memshr_vbd_image_get((char *)file);

This case would be unnecessary if memshr_vbd_image_get was
const-correct, which I think would be better.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.