Skip to content

Commit

Permalink
mac build fix
Browse files Browse the repository at this point in the history
Signed-off-by: mkhullar <[email protected]>
  • Loading branch information
mohitkhullar committed Feb 13, 2025
1 parent b861d10 commit 1dfdc5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bdb/bdb_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ typedef struct table_version_cache
{
int sz;
unsigned long long *entries;
} table_version_cache;
} table_version_cache_t;

struct hostinfo
{
Expand Down
2 changes: 1 addition & 1 deletion db/fdb_fend.c
Original file line number Diff line number Diff line change
Expand Up @@ -2555,7 +2555,7 @@ int fdb_2pc_set(sqlclntstate *clnt, fdb_t *fdb, cdb2_hndl_tp *hndl)
return -1;
}

snprintf(str, sizeof(str), "SET REMTRAN_TSTAMP %lu", clnt->dist_timestamp);
snprintf(str, sizeof(str), "SET REMTRAN_TSTAMP %"PRId64"", clnt->dist_timestamp);
rc = cdb2_run_statement(hndl, str);
if (rc) {
logmsg(LOGMSG_ERROR, "%s: %s:%s failed to set remtran_tstamp rc %d\n",
Expand Down

0 comments on commit 1dfdc5c

Please sign in to comment.