File: fix-i386.patch

package info (click to toggle)
fastp 0.24.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 768 kB
  • sloc: cpp: 9,469; makefile: 50; sh: 31
file content (23 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Fix defines to correct values
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2021-09-05
--- a/src/common.h
+++ b/src/common.h
@@ -5,12 +5,12 @@
 
 #define _DEBUG false
 
-#ifndef _WIN32
-	typedef long int64;
-	typedef unsigned long uint64;
+#if defined(__arm__) || defined(__i386__)
+       typedef long long int64;
+       typedef unsigned long long uint64;
 #else
-	typedef long long int64;
-	typedef unsigned long long uint64;
+       typedef long int64;
+       typedef unsigned long uint64;
 #endif
 
 typedef int int32;