summaryrefslogtreecommitdiff
path: root/donna_32.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-12-13 03:39:01 -0500
committerJeffrey Walton <noloader@gmail.com>2018-12-13 03:39:01 -0500
commit0bdacf1496d51e6e99a98e7cd900443c6e8680c6 (patch)
tree018b14aeeadaf241fee08936e15fd4058320398c /donna_32.cpp
parent459035fcaa7030dfa70d380d88f35356eb4672f2 (diff)
downloadcryptopp-git-0bdacf1496d51e6e99a98e7cd900443c6e8680c6.tar.gz
Fix missing semi-colon in non-ASM path
Diffstat (limited to 'donna_32.cpp')
-rw-r--r--donna_32.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/donna_32.cpp b/donna_32.cpp
index ffcf5558..00b81c6b 100644
--- a/donna_32.cpp
+++ b/donna_32.cpp
@@ -68,8 +68,8 @@
// Some compilers don't handle the code for the arithmetic shifts well.
// For compilers we know how to support we will issue the asm to sidestep
-// believe the problem. We also switch to a slightly different pattern.
-// We believe the pattern preserves the existing properties without a
+// the problem. We also switch to a slightly different pattern. We
+// believe the pattern preserves the existing properties without a
// branch. The ASM uses one intruction, while the C statement use 2 to 6
// instructions, depending on the compiler.
#if (__GNUC__ >= 3) || (__SUNPRO_CC >= 0x5100)
@@ -137,7 +137,7 @@ inline unsigned int SignExtend(unsigned int val)
#else
// GCC and SunCC compile down to a shift and neg.
// Also see the comments for CRYPTOPP_ASR_ASM.
- const signed int v = (signed int)(val >> S)
+ const signed int v = (signed int)(val >> S);
return (unsigned int)(v * -1);
#endif
}