Skip to content

Commit

Permalink
fix macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
niyatim23 committed Dec 8, 2023
1 parent 1e3863e commit 041c858
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
bash scripts/check-clang.sh
mac-os-build-clang:
runs-on: macos-11
runs-on: macos-13
env:
CC: /usr/bin/clang
CXX: /usr/bin/clang++
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
cd build
./tst/webrtc_client_test
mac-os-build-gcc:
runs-on: macos-11
runs-on: macos-13
env:
CC: gcc
CXX: g++
Expand All @@ -77,7 +77,7 @@ jobs:
cd build
./tst/webrtc_client_test
static-build-mac:
runs-on: macos-11
runs-on: macos-13
env:
AWS_KVS_LOG_LEVEL: 2
LDFLAGS: -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
Expand Down
2 changes: 1 addition & 1 deletion samples/Common.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ VOID onDataChannelMessage(UINT64 customData, PRtcDataChannel pDataChannel, BOOL
PCHAR json;
PSampleStreamingSession pSampleStreamingSession = (PSampleStreamingSession) customData;
PSampleConfiguration pSampleConfiguration = pSampleStreamingSession->pSampleConfiguration;
DataChannelMessage dataChannelMessage = {{'\0', '\0', '\0', '\0', '\0', '\0'}};
DataChannelMessage dataChannelMessage = {"\0", "\0", "\0", "\0", "\0", "\0"};
jsmn_parser parser;
jsmntok_t tokens[MAX_JSON_TOKEN_COUNT];

Expand Down

0 comments on commit 041c858

Please sign in to comment.