summaryrefslogtreecommitdiff
path: root/indra/llfilesystem/lldiskcache.h
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2021-05-11 12:58:05 -0700
committerCallum Prentice <callum@lindenlab.com>2021-05-11 12:58:05 -0700
commit3898609ae24e7787d6f6ae71c2424b43102326bf (patch)
tree0efa9851df689ff39c5034dc57db647f0a5ba7e0 /indra/llfilesystem/lldiskcache.h
parent99b99a1b4a21758ef888b251d8f8bbf565f8b42e (diff)
Fix for SL-15226 Simple cache viewer: Integer overflow in cache size - via FS:Ansariel
Diffstat (limited to 'indra/llfilesystem/lldiskcache.h')
-rw-r--r--indra/llfilesystem/lldiskcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llfilesystem/lldiskcache.h b/indra/llfilesystem/lldiskcache.h
index 997884da31..c19714434a 100644
--- a/indra/llfilesystem/lldiskcache.h
+++ b/indra/llfilesystem/lldiskcache.h
@@ -86,7 +86,7 @@ class LLDiskCache :
* The maximum size of the cache in bytes - Based on the
* setting at 'CacheSize' and 'DiskCachePercentOfTotal'
*/
- const int max_size_bytes,
+ const uintmax_t max_size_bytes,
/**
* A flag that enables extra cache debugging so that
* if there are bugs, we can ask uses to enable this