aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-07-04 10:13:32 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-04 10:13:32 +0200
commit8a2e690f1269d4310a5333d248ea566f9754519b (patch)
tree3925621580f6c8da19b864e5d188ecda3b2bb46c
parent3a8e45edf5cf3b89093db368ec3b0aacd17b9523 (diff)
Correct traits byte-order conversion
-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));
}
};