Index: src/Makefile.am
===================================================================
--- src/Makefile.am	(revision 2760)
+++ src/Makefile.am	(working copy)
@@ -1,4 +1,4 @@
-CSFLAGS = -unsafe -debug -nowarn:0169 -nowarn:0612 -nowarn:0414 -d:TEST_METADATA -d:BROKEN_RSVG $(NUNIT_DEFINES)
+CSFLAGS = -unsafe -debug -nowarn:0169 -nowarn:0612 -nowarn:0414 -d:TEST_METADATA -d:BROKEN_RSVG $(NUNIT_DEFINES) -d:SVNVERSION=`svnversion`
 
 F_SPOT_CSDISTFILES =				\
 	$(srcdir)/Cairo/Antialias.cs		\
Index: src/Imaging/Exif.cs
===================================================================
--- src/Imaging/Exif.cs	(revision 2760)
+++ src/Imaging/Exif.cs	(working copy)
@@ -783,16 +783,16 @@
 		internal static extern IntPtr malloc (uint size);
 		
 		[DllImport ("libexif.dll")]
-		private static extern void exif_data_save_data (HandleRef handle, out IntPtr content, out uint size);		
+		private static extern void exif_data_save_data (HandleRef handle, out IntPtr content, out IntPtr size);		
 		public byte [] Save ()
 		{
 			Byte [] content = null;
-			uint size;
+			IntPtr size;
 			IntPtr data;
 			unsafe {
 				exif_data_save_data (handle, out data, out size);
 				
-				content = new byte [size];
+				content = new byte [(int)size];
 				Marshal.Copy (data, content, 0, (int)size);
 				free (data);
 			}
