Skip to content

Instantly share code, notes, and snippets.

@seanlynch
Created April 5, 2011 23:49
Show Gist options
  • Save seanlynch/904834 to your computer and use it in GitHub Desktop.
Save seanlynch/904834 to your computer and use it in GitHub Desktop.
Patch for R14B02 to fix ets issue
diff --git a/erts/emulator/beam/erl_db_tree.c b/erts/emulator/beam/erl_db_tree.c
index 6cdbec3..a59c0c2 100644
--- a/erts/emulator/beam/erl_db_tree.c
+++ b/erts/emulator/beam/erl_db_tree.c
@@ -575,7 +575,7 @@ static int db_prev_tree(Process *p, DbTable *tbl, Eterm key, Eterm *ret)
return DB_ERROR_NONE;
}
-static ERTS_INLINE int cmp_key(DbTableTree* tb, Eterm key, Eterm* key_base,
+static ERTS_INLINE Sint cmp_key(DbTableTree* tb, Eterm key, Eterm* key_base,
TreeDbTerm* obj)
{
return cmp_rel(key, key_base,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment