summaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-01-14 18:16:00 +0300
committerDavid Howells <dhowells@redhat.com>2015-01-14 18:16:00 +0300
commit98dbbcba1b0c1874b9faf9c77b83f9729360aa2c (patch)
tree58db310c5215efaf3e10ad658aff25daadf5c2a6 /lib/mpi
parent7fe21291bad93458100fbbf0078d40cdb529a646 (diff)
downloadlinux-98dbbcba1b0c1874b9faf9c77b83f9729360aa2c.tar.xz
MPILIB: Fix obvious but harmless typo
The macro MPN_COPY_INCR this occurs in isn't used anywhere. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'lib/mpi')
-rw-r--r--lib/mpi/mpi-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mpi/mpi-internal.h b/lib/mpi/mpi-internal.h
index 60cf765628e9..c65dd1bff45a 100644
--- a/lib/mpi/mpi-internal.h
+++ b/lib/mpi/mpi-internal.h
@@ -84,7 +84,7 @@ static inline int RESIZE_IF_NEEDED(MPI a, unsigned b)
do { \
mpi_size_t _i; \
for (_i = 0; _i < (n); _i++) \
- (d)[_i] = (d)[_i]; \
+ (d)[_i] = (s)[_i]; \
} while (0)
#define MPN_COPY_DECR(d, s, n) \