Differential D2771 Diff 7899 head/databases/mariadb100-server/files/patch-extra_yassl_taocrypt_src_integer.cpp
Changeset View
Changeset View
Standalone View
Standalone View
head/databases/mariadb100-server/files/patch-extra_yassl_taocrypt_src_integer.cpp
--- extra/yassl/taocrypt/src/integer.cpp.orig 2014-04-15 14:02:39.000000000 +0300 | --- extra/yassl/taocrypt/src/integer.cpp.orig 2015-06-17 14:54:11 UTC | ||||
+++ extra/yassl/taocrypt/src/integer.cpp 2014-05-16 17:00:15.000000000 +0300 | +++ extra/yassl/taocrypt/src/integer.cpp | ||||
@@ -75,7 +75,7 @@ | @@ -74,7 +74,7 @@ template <class T> | ||||
CPP_TYPENAME AlignedAllocator<T>::pointer AlignedAllocator<T>::allocate( | CPP_TYPENAME AlignedAllocator<T>::pointer AlignedAllocator<T>::allocate( | ||||
size_type n, const void *) | size_type n, const void *) | ||||
{ | { | ||||
- if (n > this->max_size()) | - if (n > this->max_size()) | ||||
+ if (n > AlignedAllocator<T>::max_size()) | + if (n > AlignedAllocator<T>::max_size()) | ||||
return 0; | return 0; | ||||
if (n == 0) | if (n == 0) | ||||
return 0; | return 0; |