We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5456ac7 commit 5eb61d5Copy full SHA for 5eb61d5
1 file changed
src/drivers/CANvenient_Softing.c
@@ -199,14 +199,14 @@ int softing_update(int index)
199
{
200
#ifdef _WIN32
201
202
- softing_ctx_t* ctx;
+ const softing_ctx_t* ctx;
203
unsigned long buf_size_needed = 0;
204
unsigned long num_channels = 0;
205
CHDSNAPSHOT* channels = NULL;
206
unsigned long i;
207
int found = 0;
208
209
- ctx = (softing_ctx_t*)can_interface[index].internal;
+ ctx = (const softing_ctx_t*)can_interface[index].internal;
210
if (NULL == ctx)
211
212
return -1;
0 commit comments