[PATCH v2] winepulse.drv: Avoid PATH_MAX in Windows code.
Andrew Eikum
aeikum at codeweavers.com
Mon Nov 23 10:05:52 CST 2015
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
On Mon, Nov 23, 2015 at 04:59:39PM +0100, Svante Signell wrote:
> v2: New subject and fixed signed-off.
>
> Fixes FTBFS on hurd-i386 introduced by winepulse.
>
> Signed-off-by: Svante Signell <svante.signell at gmail.com>
>
>
> diff --git a/dlls/winepulse.drv/mmdevdrv.c b/dlls/winepulse.drv/mmdevdrv.c
> index b2f83c8..93140bb 100644
> --- a/dlls/winepulse.drv/mmdevdrv.c
> +++ b/dlls/winepulse.drv/mmdevdrv.c
> @@ -440,7 +440,7 @@ static void pulse_probe_settings(int render, WAVEFORMATEXTENSIBLE *fmt) {
> static HRESULT pulse_connect(void)
> {
> int len;
> - WCHAR path[PATH_MAX], *name;
> + WCHAR path[MAX_PATH], *name;
> char *str;
>
> if (!pulse_thread)
> @@ -519,7 +519,7 @@ static void pulse_phys_speakers_cb(pa_context *c, const pa_sink_info *i, int eol
> static HRESULT pulse_test_connect(void)
> {
> int len, ret;
> - WCHAR path[PATH_MAX], *name;
> + WCHAR path[MAX_PATH], *name;
> char *str;
> pa_operation *o;
>
>
>
>
More information about the wine-patches
mailing list