aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/pgsql/traits.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/traits.hxx b/odb/pgsql/traits.hxx
index 7d2bce0..1fbcc26 100644
--- a/odb/pgsql/traits.hxx
+++ b/odb/pgsql/traits.hxx
@@ -139,7 +139,7 @@ namespace odb
set_image (image_type& i, bool& is_null, T v)
{
is_null = false;
- i = image_type (details::endian_traits::hton (v));
+ i = details::endian_traits::hton (image_type (v));
}
};