Commit 58d7a37
committed
Don't cast LOGICAL() to int*
If the returned pointer type ever changes, the absence of the cast will
give us a compiler warning due to the value being implicitly cast to an
incompatible pointer type. An explicit cast, on the other hand, tells
the compiler to silence the warning and do as written.1 parent 32dfd8d commit 58d7a37
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1207 | 1207 | | |
1208 | 1208 | | |
1209 | 1209 | | |
1210 | | - | |
| 1210 | + | |
1211 | 1211 | | |
1212 | 1212 | | |
1213 | 1213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments