diff options
author | brad kittenbrink <brad@lindenlab.com> | 2011-04-27 16:02:16 -0700 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2011-04-27 16:02:16 -0700 |
commit | 36986de1fc1437f509d120b79430c87575e755b1 (patch) | |
tree | c63662dae567df4d0b22a3dc1c11b68319b4b542 /indra/llvfs | |
parent | 4bc90f24b3ced350ed44ca782f876af19af83c41 (diff) |
Fix for mac compile error in VWR-25608 fix.
Diffstat (limited to 'indra/llvfs')
-rw-r--r-- | indra/llvfs/llvfs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llvfs/llvfs.cpp b/indra/llvfs/llvfs.cpp index 82166d3e56..78b67e9b68 100644 --- a/indra/llvfs/llvfs.cpp +++ b/indra/llvfs/llvfs.cpp @@ -1712,7 +1712,7 @@ void LLVFS::audit() BOOL vfs_corrupt = FALSE; // since we take the address of element 0, we need to have at least one element. - std::vector<U8> buffer(llmax(index_size,1U)); + std::vector<U8> buffer(llmax<size_t>(index_size,1U)); if (fread(&buffer[0], 1, index_size, mIndexFP) != index_size) { |