mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
12 lines
670 B
Diff
12 lines
670 B
Diff
--- src/transaction.c.orig 2008-06-26 22:19:53
|
|||
|
|
+++ src/transaction.c 2024-03-20 20:10:58
|
||
|
|
@@ -689,7 +689,7 @@ bdb_env_stat(int argc, VALUE *argv, VALUE obj)
|
||
|
|
MEMCPY(lsnst->lsn, &bdb_stat->st_txnarray[i].lsn, DB_LSN, 1);
|
||
|
|
rb_hash_aset(hash, rb_tainted_str_new2("lsn"), lsn);
|
||
|
|
#if HAVE_ST_DB_TXN_ACTIVE_TID
|
||
|
|
- rb_hash_aset(hash, rb_tainted_str_new2("thread_id"), INT2NUM(bdb_stat->st_txnarray[i].tid));
|
||
|
|
+ rb_hash_aset(hash, rb_tainted_str_new2("thread_id"), INT2NUM((uintptr_t)bdb_stat->st_txnarray[i].tid));
|
||
|
|
#endif
|
||
|
|
#if HAVE_ST_DB_TXN_ACTIVE_NAME
|
||
|
|
rb_hash_aset(hash, rb_tainted_str_new2("name"), rb_tainted_str_new2(bdb_stat->st_txnarray[i].name));
|