summaryrefslogtreecommitdiff
path: root/repo/alsa-firmware/use-uint32_t-instead-u_int32_t.patch
blob: 70112fd1dfc269f9085b16143493d2c11208b7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
diff -rNu a/hdsploader/digiface_firmware.dat b/hdsploader/digiface_firmware.dat
--- a/hdsploader/digiface_firmware.dat	2020-10-20 12:28:42.000000000 +0100
+++ b/hdsploader/digiface_firmware.dat	2022-03-09 18:13:56.491133428 +0000
@@ -1,5 +1,5 @@
 /* stored in little-endian */
-static u_int32_t digiface_firmware[24413] = {
+static uint32_t digiface_firmware[24413] = {
 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000,
 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000,
 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a,
diff -rNu a/hdsploader/digiface_firmware_rev11.dat b/hdsploader/digiface_firmware_rev11.dat
--- a/hdsploader/digiface_firmware_rev11.dat	2020-10-20 12:28:42.000000000 +0100
+++ b/hdsploader/digiface_firmware_rev11.dat	2022-03-09 18:13:56.491133428 +0000
@@ -1,5 +1,5 @@
 /* stored in little-endian */
-static u_int32_t digiface_firmware_rev11[24413] = {
+static uint32_t digiface_firmware_rev11[24413] = {
 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000,
 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000,
 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a,
diff -rNu a/hdsploader/multiface_firmware.dat b/hdsploader/multiface_firmware.dat
--- a/hdsploader/multiface_firmware.dat	2020-10-20 12:28:42.000000000 +0100
+++ b/hdsploader/multiface_firmware.dat	2022-03-09 18:13:56.491133428 +0000
@@ -1,5 +1,5 @@
 /* stored in little-endian */
-static u_int32_t multiface_firmware[24413] = {
+static uint32_t multiface_firmware[24413] = {
 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000,
 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000,
 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a,
diff -rNu a/hdsploader/multiface_firmware_rev11.dat b/hdsploader/multiface_firmware_rev11.dat
--- a/hdsploader/multiface_firmware_rev11.dat	2020-10-20 12:28:42.000000000 +0100
+++ b/hdsploader/multiface_firmware_rev11.dat	2022-03-09 18:13:56.491133428 +0000
@@ -1,5 +1,5 @@
 /* stored in little-endian */
-static u_int32_t multiface_firmware_rev11[24413] = {
+static uint32_t multiface_firmware_rev11[24413] = {
 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000,
 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000,
 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a,
diff -rNu a/hdsploader/tobin.c b/hdsploader/tobin.c
--- a/hdsploader/tobin.c	2020-10-20 12:28:42.000000000 +0100
+++ b/hdsploader/tobin.c	2022-03-09 18:13:56.491133428 +0000
@@ -8,7 +8,7 @@
 #include "multiface_firmware.dat"
 #include "multiface_firmware_rev11.dat"
 
-int write_bin_file(u_int32_t *array, const char *filename)
+int write_bin_file(uint32_t *array, const char *filename)
 {
 	FILE *out;