summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/safe_browsing_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_util.h')
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_util.h b/chrome/browser/safe_browsing/safe_browsing_util.h
index a184ca6..8c2d60b 100644
--- a/chrome/browser/safe_browsing/safe_browsing_util.h
+++ b/chrome/browser/safe_browsing/safe_browsing_util.h
@@ -41,8 +41,9 @@ typedef struct {
typedef int SBPrefix;
// A full hash.
-typedef struct {
+typedef union {
char full_hash[32];
+ SBPrefix prefix;
} SBFullHash;
inline bool operator==(const SBFullHash& rhash, const SBFullHash& lhash) {