Commit 9d5173f7 authored by Svante Signell's avatar Svante Signell Committed by Alexandre Julliard

winepulse.drv: Avoid PATH_MAX in Windows code.

parent 1d19eb15
...@@ -442,7 +442,7 @@ static void pulse_probe_settings(int render, WAVEFORMATEXTENSIBLE *fmt) { ...@@ -442,7 +442,7 @@ static void pulse_probe_settings(int render, WAVEFORMATEXTENSIBLE *fmt) {
static HRESULT pulse_connect(void) static HRESULT pulse_connect(void)
{ {
int len; int len;
WCHAR path[PATH_MAX], *name; WCHAR path[MAX_PATH], *name;
char *str; char *str;
if (!pulse_thread) if (!pulse_thread)
...@@ -521,7 +521,7 @@ static void pulse_phys_speakers_cb(pa_context *c, const pa_sink_info *i, int eol ...@@ -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) static HRESULT pulse_test_connect(void)
{ {
int len, ret; int len, ret;
WCHAR path[PATH_MAX], *name; WCHAR path[MAX_PATH], *name;
char *str; char *str;
pa_operation *o; pa_operation *o;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment