Commit 98c9111
committed
Fix incompatible pointer type in get_cable_id call
Fix SW #4707860: mstflint 4.33 rpm build failing with --enable-cables
The get_cable_id() function arguments were passed in wrong order,
causing incompatible pointer type errors with strict compiler flags.
Swap arguments to match function signature:
- get_cable_id(mf, &devid, &(cbl->cable_type))
Tested: Resolves build failure with --enable-cables and
-Werror=incompatible-pointer-types1 parent 84bddce commit 98c9111
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
0 commit comments