From b627d4ceb0e5ec1352b48a85abb5393f4ae7a456 Mon Sep 17 00:00:00 2001 From: krangelov Date: Fri, 13 Aug 2021 20:33:00 +0200 Subject: [PATCH] fix typo --- src/runtime/c/pgf/pgf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/c/pgf/pgf.h b/src/runtime/c/pgf/pgf.h index a66e1315e..9a7917f31 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -99,7 +99,7 @@ struct PgfUnmarshaller { struct PgfMarshaller { virtual uintptr_t match_lit(PgfUnmarshaller *u, uintptr_t lit)=0; virtual uintptr_t match_expr(PgfUnmarshaller *u, uintptr_t expr)=0; - virtual uintptr_t match_type(PgfUnmarshaller *u, uintptr_t *ty)=0; + virtual uintptr_t match_type(PgfUnmarshaller *u, uintptr_t ty)=0; }; #else typedef struct PgfUnmarshaller PgfUnmarshaller; @@ -132,7 +132,7 @@ typedef struct PgfMarshallerVtbl PgfMarshallerVtbl; struct PgfMarshallerVtbl { uintptr_t (*match_lit)(PgfUnmarshaller *u, uintptr_t lit); uintptr_t (*match_expr)(PgfUnmarshaller *u, uintptr_t expr); - uintptr_t (*match_type)(PgfUnmarshaller *u, uintptr_t *ty); + uintptr_t (*match_type)(PgfUnmarshaller *u, uintptr_t ty); }; struct PgfMarshaller { PgfMarshallerVtbl *vtbl;