From 9d5173f77ddb95b7ed192015302786f82516c540 Mon Sep 17 00:00:00 2001 From: Svante Signell Date: Mon, 23 Nov 2015 16:59:39 +0100 Subject: [PATCH] winepulse.drv: Avoid PATH_MAX in Windows code. Signed-off-by: Svante Signell Signed-off-by: Andrew Eikum Signed-off-by: Alexandre Julliard --- dlls/winepulse.drv/mmdevdrv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winepulse.drv/mmdevdrv.c b/dlls/winepulse.drv/mmdevdrv.c index 215a53e920a..24972ab7268 100644 --- a/dlls/winepulse.drv/mmdevdrv.c +++ b/dlls/winepulse.drv/mmdevdrv.c @@ -442,7 +442,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) @@ -521,7 +521,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;