1
Description: Fix FTBFS with gcc 4.7 on i386.
2
Origin: upstream, https://www.virtualbox.org/changeset/40420/vbox
4
--- a/src/libs/xpcom18a4/xpcom/io/nsFastLoadFile.h
5
+++ b/src/libs/xpcom18a4/xpcom/io/nsFastLoadFile.h
7
// not call through our overridden Read method -- it calls directly into
8
// the underlying input stream.
9
- NS_IMETHODIMP ReadSegments(nsWriteSegmentFun aWriter, void* aClosure,
10
- PRUint32 aCount, PRUint32 *aResult);
11
+ NS_IMETHOD ReadSegments(nsWriteSegmentFun aWriter, void* aClosure,
12
+ PRUint32 aCount, PRUint32 *aResult);
14
nsresult ReadHeader(nsFastLoadHeader *aHeader);
15
--- a/src/VBox/Runtime/generic/critsect-generic.cpp
16
+++ b/src/VBox/Runtime/generic/critsect-generic.cpp
20
-RTDECL(int) RTCritSectEnterMultipleDebug(size_t cCritSects, PRTCRITSECT *papCritSects, RTUINTPTR uId, RT_SRC_POS_DECL)
21
+RTDECL(int) RTCritSectEnterMultipleDebug(size_t cCritSects, PRTCRITSECT *papCritSects, RTHCUINTPTR uId, RT_SRC_POS_DECL)
23
RTLOCKVALSRCPOS SrcPos = RTLOCKVALSRCPOS_INIT_DEBUG_API();