浏览代码

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>
Rasmus Villemoes 10 年之前
父节点
当前提交
98dbbcba1b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/mpi/mpi-internal.h

+ 1 - 1
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) \