Skip to content

Commit

Permalink
[native] replace uint with unsigned int
Browse files Browse the repository at this point in the history
Summary:
Emscripten compiler (for some reason) does not recognize `uint`, and cause: ` error: use of undeclared identifier 'uint'; did you mean 'int'?`

Depends on D8488

Test Plan: N/A

Reviewers: michal, tomek, jon, atul

Reviewed By: michal

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D8489
  • Loading branch information
xsanm committed Jul 20, 2023
1 parent 21bb64c commit 6c0a013
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ void validate_encryption() {
typedef bool ShouldBeInTransaction;
typedef std::function<bool(sqlite3 *)> MigrateFunction;
typedef std::pair<MigrateFunction, ShouldBeInTransaction> SQLiteMigration;
std::vector<std::pair<uint, SQLiteMigration>> migrations{
std::vector<std::pair<unsigned int, SQLiteMigration>> migrations{
{{1, {create_drafts_table, true}},
{2, {rename_threadID_to_key, true}},
{4, {create_persist_account_table, true}},
Expand Down

0 comments on commit 6c0a013

Please sign in to comment.