File: typo.patch

package info (click to toggle)
r-cran-rmpfr 1.0-0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,556 kB
  • sloc: ansic: 2,323; sh: 14; makefile: 5
file content (22 lines) | stat: -rw-r--r-- 756 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Adrian Bunk <bunk@debian.org>
Date: Mon, 3 Mar 2025 13:33:01 +0000
Subject: Fix typo to fix build

Forwarded: https://r-forge.r-project.org/tracker/index.php?func=detail&aid=6859&group_id=386&atid=1579
---
 src/convert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/convert.c b/src/convert.c
index 8a39544..11b28e1 100644
--- a/src/convert.c
+++ b/src/convert.c
@@ -68,7 +68,7 @@ static R_INLINE void R_mpfr_FILL_EXP(mpfr_t r, unsigned int *ex) {
 }
 static R_INLINE void R_mpfr_GET_EXP(mpfr_t r, unsigned int *ex,
                                     unsigned int ex1) {
-    r->_mpfr_exp = (mpft_exp_t) CAST_SIGNED(ex[0], unsigned int, int);
+    r->_mpfr_exp = (mpfr_exp_t) CAST_SIGNED(ex[0], unsigned int, int);
 }