diff options
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | backends/winmidi.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index ea4bd94..12de8c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -75,8 +75,10 @@ matrix: - ubuntu-toolchain-r-test - os: linux dist: xenial - compiler: x86_64-w64-mingw32-gcc - env: TASK='windows' + compiler: mingw32-gcc + env: + - TASK='windows' + - CC='x86_64-w64-mingw32-gcc' addons: apt: packages: diff --git a/backends/winmidi.c b/backends/winmidi.c index 4c72c32..67187ac 100644 --- a/backends/winmidi.c +++ b/backends/winmidi.c @@ -478,7 +478,7 @@ static int winmidi_start(){ LocalFree(error); return 1; } - //getsockname on 'real' windows may not set the adress - works on wine, though + //getsockname on 'real' windows may not set the address - works on wine, though switch(sockadd.ss_family){ case AF_INET: case AF_INET6: |