Commit d419031
committed
common/parsing_helpers.h: Fix sizeof checks to use pointer target
Marcus noticed that there was a sizeof() check in parsing_helpers that was
using the size of the pointer, not of the struct being pointed to. Turns
out there were two of these, so let's fix both.
Fixes #199.
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>1 parent 2ba3740 commit d419031
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
0 commit comments