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:
parent
1d19eb15d4
commit
9d5173f77d
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue