Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions inkcpp/list_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ list_table::list list_table::sub(list arg, int n)

list_flag list_table::sub(list_flag arg, int i) { return add(arg, -i); }

int list_table::count(list_flag lf) const
int32_t list_table::count(list_flag lf) const
{
if (lf == empty_flag || lf == null_flag || lf.flag == -1) {
return 0;
Expand All @@ -465,7 +465,7 @@ int list_table::count(list_flag lf) const
return 1;
}

int list_table::count(list l) const
int32_t list_table::count(list l) const
{
int count = 0;
const data_t* data = getPtr(l.lid);
Expand Down
4 changes: 2 additions & 2 deletions inkcpp/list_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ class list_table : public snapshot_interface

bool not_bool(list_flag lf) const { return ! to_bool(lf); }

int count(list l) const;
int count(list_flag f) const;
int32_t count(list l) const;
int32_t count(list_flag f) const;

list_flag min(list l) const;

Expand Down
Loading