summaryrefslogtreecommitdiff
path: root/chromium/third_party/libmtp/patches/01_build_fixes.patch
blob: 3630a229b35909e4e0c588ca0a6451f5737d0bde (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
Index: src/unicode.c
===================================================================
--- src/unicode.c	(revision 148519)
+++ src/unicode.c	(working copy)
@@ -29,7 +29,8 @@
  *
  */
 
-#include <config.h>
+#include "config.h"
+
 #include <stdlib.h>
 #include <string.h>
 #ifdef HAVE_ICONV
Index: src/playlist-spl.c
===================================================================
--- src/playlist-spl.c	(revision 148519)
+++ src/playlist-spl.c	(working copy)
@@ -21,7 +21,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
+#include "config.h"
 
 #include <stdio.h>
 #include <stdlib.h> // mkstmp()
Index: src/ptp.h
===================================================================
--- src/ptp.h	(revision 148519)
+++ src/ptp.h	(working copy)
@@ -2808,7 +2808,7 @@
 static inline int
 ptp_operation_issupported(PTPParams* params, uint16_t operation)
 {
-	int i=0;
+	uint32_t i=0;
 
 	for (;i<params->deviceinfo.OperationsSupported_len;i++) {
 		if (params->deviceinfo.OperationsSupported[i]==operation)