Rob Shearman : avicap32: Fix the type of retval in capGetDriverDescriptionA .

Alexandre Julliard julliard at winehq.org
Mon Feb 25 06:51:42 CST 2008


Module: wine
Branch: master
Commit: 03812357dbd16c6aadf8828d17bf973655452ae8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=03812357dbd16c6aadf8828d17bf973655452ae8

Author: Rob Shearman <rob at codeweavers.com>
Date:   Mon Feb 25 08:59:38 2008 +0000

avicap32: Fix the type of retval in capGetDriverDescriptionA.

---

 dlls/avicap32/avicap32_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/avicap32/avicap32_main.c b/dlls/avicap32/avicap32_main.c
index 4fc6727..349ee5d 100644
--- a/dlls/avicap32/avicap32_main.c
+++ b/dlls/avicap32/avicap32_main.c
@@ -179,7 +179,7 @@ static BOOL query_video_device(int devnum, char *name, int namesize, char *versi
 BOOL VFWAPI capGetDriverDescriptionA(WORD wDriverIndex, LPSTR lpszName,
                                      INT cbName, LPSTR lpszVer, INT cbVer)
 {
-   HRESULT retval;
+   BOOL retval;
    WCHAR devname[CAP_DESC_MAX], devver[CAP_DESC_MAX];
    TRACE("--> capGetDriverDescriptionW\n");
    retval = capGetDriverDescriptionW(wDriverIndex, devname, CAP_DESC_MAX, devver, CAP_DESC_MAX);




More information about the wine-cvs mailing list