Skip to content

Commit

Permalink
Revert long unsigned int to ::size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
tcezard committed Jun 27, 2024
1 parent 42dee1f commit c6f5689
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion inc/vcf/error-odb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ namespace odb
typedef
sqlite::query_column<
sqlite::value_traits<
long unsigned int,
::size_t,
sqlite::id_integer >::query_type,
sqlite::id_integer >
line_type_;
Expand Down
10 changes: 5 additions & 5 deletions src/vcf/error-odb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,12 @@ namespace odb
//
if (sk == statement_insert)
{
long unsigned int const& v =
::size_t const& v =
o.line;

bool is_null (false);
sqlite::value_traits<
long unsigned int,
::size_t,
sqlite::id_integer >::set_image (
i.line_value,
is_null,
Expand Down Expand Up @@ -381,12 +381,12 @@ namespace odb
// line
//
{
long unsigned int& v =
const_cast< long unsigned int& > (
::size_t& v =
const_cast< ::size_t& > (
o.line);

sqlite::value_traits<
long unsigned int,
::size_t,
sqlite::id_integer >::set_value (
v,
i.line_value,
Expand Down

0 comments on commit c6f5689

Please sign in to comment.