[Spice-devel] [Spice-commits] spice/qxl_dev.h

Christophe Fergeau cfergeau at redhat.com
Wed Apr 11 03:26:04 PDT 2012


Ah, didn't pay attention it was a commit log ;)

On Wed, Apr 11, 2012 at 12:22:55PM +0200, Christophe Fergeau wrote:
> ACK
> 
> On Mon, Apr 09, 2012 at 10:36:10AM -0700, Alon Levy wrote:
> >  spice/qxl_dev.h |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > New commits:
> > commit 8a20378425dff191845a209decb5c5eedb273799
> > Author: Alon Levy <alevy at redhat.com>
> > Date:   Mon Apr 9 20:05:10 2012 +0300
> > 
> >     qxl_dev: fix const cast warning for QXL_R[AO]M_MAGIC
> > 
> > diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
> > index 5e6ce06..741a1f6 100644
> > --- a/spice/qxl_dev.h
> > +++ b/spice/qxl_dev.h
> > @@ -53,8 +53,8 @@ enum {
> >  #define QXL_DEVICE_ID_DEVEL 0x01ff
> >  #define QXL_REVISION_DEVEL 0x01
> >  
> > -#define QXL_ROM_MAGIC (*(uint32_t*)"QXRO")
> > -#define QXL_RAM_MAGIC (*(uint32_t*)"QXRA")
> > +#define QXL_ROM_MAGIC (*(const uint32_t*)"QXRO")
> > +#define QXL_RAM_MAGIC (*(const uint32_t*)"QXRA")
> >  
> >  enum {
> >      QXL_RAM_RANGE_INDEX,
> > _______________________________________________
> > Spice-commits mailing list
> > Spice-commits at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/spice-commits



> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120411/7e7d075d/attachment.pgp>


More information about the Spice-devel mailing list