winepulse.drv: Avoid PATH_MAX in Windows code.

Signed-off-by: Svante Signell <svante.signell@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Svante Signell 2015-11-23 16:59:39 +01:00 committed by Alexandre Julliard
parent 1d19eb15d4
commit 9d5173f77d
1 changed files with 2 additions and 2 deletions

View File

@ -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;