diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test4.c b/test/test4.c index 12d9ca4..c2dcd5f 100644 --- a/test/test4.c +++ b/test/test4.c @@ -14,8 +14,8 @@ int : 0; short a:15; }; -int bitf(struct foo q) { - return q.x + q.y - q.k + q.a; +int bitf(struct foo *q) { + return q->x + q->y - q->k + q->a; } int main() { |