--- a/src/lib/pngtile.h Mon Dec 28 22:31:33 2009 +0200
+++ b/src/lib/pngtile.h Mon Dec 28 22:50:00 2009 +0200
@@ -30,7 +30,7 @@
/** Metadata info for image */
struct pt_image_info {
/** Dimensions of image */
- size_t width, height;
+ size_t width, height;
};
@@ -49,7 +49,7 @@
/**
* Get the image's metadata
*/
-int pt_image_info (struct pt_image *image, struct pt_image_info **info_ptr);
+int pt_image_info (struct pt_image *image, const struct pt_image_info **info_ptr);
/**
* Check the given image's cache is stale - in other words, the image needs to be updated.