Files
nixpkgs/pkgs/by-name/fa/fastcap/fastcap-mulglobal-add-ualloc-declaration.patch
2026-04-02 13:57:54 -07:00

13 lines
309 B
Diff

Fix implicit int truncating points in 64 bit systems.
--- a/src/mulGlobal.h
+++ b/src/mulGlobal.h
@@ -77,6 +77,8 @@
/* #define MALCORE malloc */
#define MALCORE ualloc
+extern char *ualloc(unsigned int);
+
/* counts of memory usage by multipole matrix type */
extern long memcount;
extern long memQ2M;