File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1857,19 +1857,19 @@ int modbus_get_header_length(modbus_t *ctx)
18571857 return ctx -> backend -> header_length ;
18581858}
18591859
1860- int modbus_enable_quirks (modbus_t * ctx , uint32_t quirks_mask )
1860+ int modbus_enable_quirks (modbus_t * ctx , unsigned int quirks_mask )
18611861{
18621862 if (ctx == NULL ) {
18631863 errno = EINVAL ;
18641864 return -1 ;
18651865 }
18661866
1867- /* Enable quirks that have a true value at their index in the mask */
1867+ /* Enable quirks that have a true value at their index in the mask */
18681868 ctx -> quirks |= quirks_mask ;
18691869 return 0 ;
18701870}
18711871
1872- int modbus_disable_quirks (modbus_t * ctx , uint32_t quirks_mask )
1872+ int modbus_disable_quirks (modbus_t * ctx , unsigned int quirks_mask )
18731873{
18741874 if (ctx == NULL ) {
18751875 errno = EINVAL ;
You can’t perform that action at this time.
0 commit comments