freebsd-ports/emulators/virtualbox-ose/files/patch-include-iprt-file.h
Beat Gaetzi afdffe57e9 - Update to 3.1.6
- Fix ioctl warnings in /var/log/messages [1]
- Fix build with QT4 support disabled [2]

Obtained from:	http://www.virtualbox.org/changeset/25953 [1]
Reported by:	William DiNoia <william.dinoia AT gmail.com> [2]
On behalf of:	vbox@ (decke, dhn, itetcu, miwi, nox)
2010-03-27 10:20:39 +00:00

13 lines
562 B
C

Index: include/iprt/file.h
===================================================================
--- include/iprt/file.h (Revision 25952)
+++ include/iprt/file.h (Revision 25953)
@@ -743,7 +743,7 @@
* @param cbData Size of the IOCTL data.
* @param piRet Return value of the IOCTL request.
*/
-RTR3DECL(int) RTFileIoCtl(RTFILE File, int iRequest, void *pvData, unsigned cbData, int *piRet);
+RTR3DECL(int) RTFileIoCtl(RTFILE File, unsigned long ulRequest, void *pvData, unsigned cbData, int *piRet);
/**
* Query the sizes of a filesystem.