diff options
Diffstat (limited to 'lib/ypc.h')
-rw-r--r-- | lib/ypc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -145,8 +145,8 @@ static inline ypc_get ypc_iter_next(ypc_iter *i) { ypc_get g = {i->buf}; * *v->buf == 9, which is much cheaper than a function call. A similar * optimization is possible when using ypc_get_type() in a switch statement. */ -static inline ypc_type ypc_get_type(ypc_get *v) { - switch(*v->buf) { +static inline ypc_type ypc_get_type(ypc_get v) { + switch(*v.buf) { case 0: return YPC_NULL; case 1: |