Description: Fix bugs that make build fail with GCC-14
 Use size_t instead of int where appropriate.
Author: Thibaut Paumard <thibaut@debian.org>
Origin: vendor
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075703
Last-Update: 2024-07-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ml4.c
+++ b/ml4.c
@@ -376,7 +376,7 @@
     // 4-byte int
     size = 4;
     Array *a= PushDataBlock(NewArray(&intStruct, tmpDims));
-    int *data = a->value.l;
+    long int *data = a->value.l;
     bytes_read = fread((void *)data,size,nElements,fs);
     if (endian=='B') { for (i=0;i<nElements;i++) SWAP_INT(data[i]); }
 
