Convert sizeof foo to sizeof(foo).
[tinc] / src / chacha-poly1305 / chacha-poly1305.c
index bd5cb2c..d4f3723 100644 (file)
@@ -13,7 +13,7 @@ struct chacha_poly1305_ctx {
 
 chacha_poly1305_ctx_t *chacha_poly1305_init(void)
 {
-       chacha_poly1305_ctx_t *ctx = xzalloc(sizeof *ctx);
+       chacha_poly1305_ctx_t *ctx = xzalloc(sizeof(*ctx));
        return ctx;
 }