Commit c4415cbe authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

compile with icc 32 bit linux. addresses #1195

git-svn-id: file:///svn/toku/tokudb.1195@7659 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2a662e81
......@@ -981,7 +981,7 @@ int toku_maybe_spill_rollbacks (TOKUTXN txn) {
txn->oldest_logentry = txn->newest_logentry = 0;
if (txn->rollentry_fd<0) {
const char filenamepart[] = "/__rolltmp.XXXXXX";
char fnamelen = strlen(txn->logger->directory)+sizeof(filenamepart);
int fnamelen = strlen(txn->logger->directory)+sizeof(filenamepart);
assert(txn->rollentry_filename==0);
txn->rollentry_filename = toku_malloc(fnamelen);
if (txn->rollentry_filename==0) return errno;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment