diff options
author | Ryan Stonecipher <Ryan.Stonecipher.Fisher@gmail.com> | 2011-01-24 14:42:02 -0600 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-01-24 14:42:26 -0600 |
commit | 29f9c4cf4aa5d9c254f9ed41adc915439d46fcc8 (patch) | |
tree | d948c008823112534a6442ec20907726baf0aa3d /egg/egg-asn1x.c | |
parent | 531deb3893cc5dcec940799271fc304cf6eb1c96 (diff) | |
download | gcr-29f9c4cf4aa5d9c254f9ed41adc915439d46fcc8.tar.gz |
Fix undefined type in egg-asn1x.c
Mac OSX doesn't have a ulong type
https://bugzilla.gnome.org/show_bug.cgi?id=640362
Diffstat (limited to 'egg/egg-asn1x.c')
-rw-r--r-- | egg/egg-asn1x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/egg/egg-asn1x.c b/egg/egg-asn1x.c index 122cedf..10bd92c 100644 --- a/egg/egg-asn1x.c +++ b/egg/egg-asn1x.c @@ -2064,8 +2064,8 @@ anode_write_integer_ulong (gulong value, guchar *data, gsize *n_data) guchar buf[sizeof (gulong)]; gint bytes, i, off; - for (i = 0; i < sizeof (ulong); ++i) { - off = sizeof (ulong) - (i + 1); + for (i = 0; i < sizeof (gulong); ++i) { + off = sizeof (gulong) - (i + 1); buf[i] = (value >> (off * 8)) & 0xFF; } |