Author: abrander
Date: 2013-03-30 13:36:41 +0100 (Sat, 30 Mar 2013)
New Revision: 4337

Modified:
   trunk/librawstudio/rs-rawfile.c
Log:
Fixed cast to avoid warning.

Modified: trunk/librawstudio/rs-rawfile.c
===================================================================
--- trunk/librawstudio/rs-rawfile.c     2013-03-26 12:12:30 UTC (rev 4336)
+++ trunk/librawstudio/rs-rawfile.c     2013-03-30 12:36:41 UTC (rev 4337)
@@ -151,7 +151,7 @@
        if (rawfile->byteorder == cpuorder)
                *target = *(gdouble *)(rawfile->map+rawfile->base+pos);
        else
-               *target = (gdouble) (ENDIANSWAP8(*(gint64 
*)(rawfile->map+rawfile->base+pos)));
+               *target = (gdouble) (ENDIANSWAP8(*(guint64 
*)(rawfile->map+rawfile->base+pos)));
        return(TRUE);
 }
 


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to