Fix casting warning on 32-bit

This commit is contained in:
Andrew Gaul 2019-06-29 20:57:17 -07:00
parent a78d8d1da4
commit d7f77a6282

View File

@ -602,7 +602,7 @@ void PageList::Dump()
S3FS_PRN_DBG("pages = {"); S3FS_PRN_DBG("pages = {");
for(fdpage_list_t::iterator iter = pages.begin(); iter != pages.end(); ++iter, ++cnt){ for(fdpage_list_t::iterator iter = pages.begin(); iter != pages.end(); ++iter, ++cnt){
S3FS_PRN_DBG(" [%08d] -> {%014lld - %014zu : %s}", cnt, static_cast<long long int>((*iter)->offset), (*iter)->bytes, (*iter)->loaded ? "true" : "false"); S3FS_PRN_DBG(" [%08d] -> {%014lld - %014lld : %s}", cnt, static_cast<long long int>((*iter)->offset), static_cast<long long int>((*iter)->bytes), (*iter)->loaded ? "true" : "false");
} }
S3FS_PRN_DBG("}"); S3FS_PRN_DBG("}");
} }