diff --git a/common/canvas_base.h b/common/canvas_base.h index 78e6368..2d3c35b 100644 --- a/common/canvas_base.h +++ b/common/canvas_base.h @@ -60,7 +60,7 @@ typedef struct { } SpiceImageCacheOps; struct _SpiceImageCache { - SpiceImageCacheOps *ops; + const SpiceImageCacheOps *ops; }; typedef struct { @@ -69,7 +69,7 @@ typedef struct { } SpiceImageSurfacesOps; struct _SpiceImageSurfaces { - SpiceImageSurfacesOps *ops; + const SpiceImageSurfacesOps *ops; }; typedef struct {