Commit 00124517 authored by Philip Withnall's avatar Philip Withnall

gchecksum: Fix validity checks for GChecksumType

This fixes the unit tests after commit 3e32350b rearranged the enum
Signed-off-by: Philip Withnall's avatarPhilip Withnall <>
parent f6db42f6
......@@ -52,7 +52,7 @@
* Support for checksums has been added in GLib 2.16
#define IS_VALID_TYPE(type) ((type) >= G_CHECKSUM_MD5 && (type) <= G_CHECKSUM_SHA512)
#define IS_VALID_TYPE(type) ((type) >= G_CHECKSUM_MD5 && (type) <= G_CHECKSUM_SHA384)
/* The fact that these are lower case characters is part of the ABI */
static const gchar hex_digits[] = "0123456789abcdef";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment