rpms/gnome-chemistry-utils/devel gnome-chemistry-utils-0.9.90-ppc.patch, 1.1, 1.2
Julian Sikorski
belegdol at fedoraproject.org
Tue Sep 9 08:08:31 UTC 2008
Author: belegdol
Update of /cvs/extras/rpms/gnome-chemistry-utils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15883
Modified Files:
gnome-chemistry-utils-0.9.90-ppc.patch
Log Message:
Commit the correct patch
gnome-chemistry-utils-0.9.90-ppc.patch:
Index: gnome-chemistry-utils-0.9.90-ppc.patch
===================================================================
RCS file: /cvs/extras/rpms/gnome-chemistry-utils/devel/gnome-chemistry-utils-0.9.90-ppc.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gnome-chemistry-utils-0.9.90-ppc.patch 8 Sep 2008 23:05:55 -0000 1.1
+++ gnome-chemistry-utils-0.9.90-ppc.patch 9 Sep 2008 08:08:31 -0000 1.2
@@ -16,10 +16,10 @@
- bool res = gsf_input_read (input, 4, (guint8*) buffer), \
- (guint32) i = buffer[0] + buffer[1] << 8 + buffer[2] << 16 + buffer[3] << 24, res
+ readint_res = gsf_input_read (input, 2, (guint8*) buffer), \
-+ (guint16) i = buffer[0] + buffer[1] << 8, readint_res
++ i = buffer[0] + (buffer[1] << 8), readint_res
+#define READINT32(input,i) \
+ readint_res = gsf_input_read (input, 4, (guint8*) buffer), \
-+ (guint32) i = buffer[0] + buffer[1] << 8 + buffer[2] << 16 + buffer[3] << 24, readint_res
++ i = buffer[0] + (buffer[1] << 8) + (buffer[2] << 16) + (buffer[3] << 24), readint_res
#endif
typedef struct {
More information about the fedora-extras-commits
mailing list