Commit 128c0e3
committed
Change signature of kgets_func2() to be more like hgetln()
In particular the second parameter should be size_t, not int.
The incorrect version worked when using hgetln(), mainly because
the ABI passes arguments in registers. This ensures it will
work because the types match instead of due to a happy accident.
Hat-tip to John Marshall for spotting this.1 parent c1c8c80 commit 128c0e3
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
0 commit comments