MPILIB: Fix obvious but harmless typo
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 14 Jan 2015 15:16:00 +0000 (15:16 +0000)
committerDavid Howells <dhowells@redhat.com>
Wed, 14 Jan 2015 15:16:00 +0000 (15:16 +0000)
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>
lib/mpi/mpi-internal.h

index 60cf765..c65dd1b 100644 (file)
@@ -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) \