aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-05-27 00:15:20 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-05-27 00:15:20 +0000
commit34422882851779a288449626371f799ad74b1184 (patch)
tree3e97bf79d857f28e27ac2825ce502360993bd325
parentaf052c5b224e62c5573b6d15ac57bfd056db7cc6 (diff)
downloadpaludis-34422882851779a288449626371f799ad74b1184.tar.gz
paludis-34422882851779a288449626371f799ad74b1184.tar.xz
Fix harmless compiler warning, since people keep asking about it
-rw-r--r--paludis/hashed_containers.hh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/hashed_containers.hh.in b/paludis/hashed_containers.hh.in
index 6021368..857d064 100644
--- a/paludis/hashed_containers.hh.in
+++ b/paludis/hashed_containers.hh.in
@@ -149,7 +149,7 @@ namespace paludis
static const std::size_t h_shift = std::numeric_limits<std::size_t>::digits - 5;
/// Mask value.
- static const std::size_t h_mask = 0x1f << h_shift;
+ static const std::size_t h_mask = static_cast<std::size_t>(0x1f) << h_shift;
};
}