Skip to content

Commit 7eb2647

Browse files
committed
Temporal fix for some warnings for windows tests
1 parent 2e0eb12 commit 7eb2647

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/ReplyAdder/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ int main(int args, char** argv)
139139
bool connected = true;
140140
while (1)
141141
{
142-
uint8_t read_data_status;
142+
// uint8_t read_data_status;
143143
// connected = uxr_run_session_until_all_status(&session, UXR_TIMEOUT_INF, &read_data_req, &read_data_status, 1);
144144
connected = uxr_run_session_time(&session, 100);
145145
}

examples/RequestAdder/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ int main(int args, char** argv)
6060

6161
char* ip = argv[1];
6262
char* port = argv[2];
63-
srand(time(NULL)); // Initialization, should only be called once.
63+
srand((unsigned int)time(NULL)); // Initialization, should only be called once.
6464
uint32_t key = rand();
6565

6666
// Transport

0 commit comments

Comments
 (0)