summaryrefslogtreecommitdiff
path: root/integer.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-07-08 19:05:01 -0400
committerJeffrey Walton <noloader@gmail.com>2016-07-08 19:05:01 -0400
commita011d5f9bf659af85f0896e014bad87b1cbaf04d (patch)
tree2195c6ad0a9d2c1574bdc863d0bcf1b1abd06e9a /integer.cpp
parent26ab08e29da9bf1d4dcf84b8d6583d0bde01779d (diff)
downloadcryptopp-git-a011d5f9bf659af85f0896e014bad87b1cbaf04d.tar.gz
Fix "Error: The operand ___LKDB cannot be assigned to" under Sun Studio 12.5 (formerly Issue 188)
Diffstat (limited to 'integer.cpp')
-rw-r--r--integer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/integer.cpp b/integer.cpp
index cfc70e0e..a4642e3e 100644
--- a/integer.cpp
+++ b/integer.cpp
@@ -45,7 +45,7 @@
#endif
// "Error: The operand ___LKDB cannot be assigned to", http://github.com/weidai11/cryptopp/issues/188
-#if (__SUNPRO_CC == 0x5130)
+#if (__SUNPRO_CC >= 0x5130)
# define MAYBE_CONST
# define MAYBE_UNCONST_CAST const_cast<word*>
#else