From d83a91c663ced211bb7e4509f800859c3fa086e9 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 30 Aug 2015 10:58:38 +0100 Subject: [PATCH] lib/sod.h: Make the `_vt' member of `sod_instance' be pointer-to-const. --- lib/sod.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sod.h b/lib/sod.h index cb6b046..8270895 100644 --- a/lib/sod.h +++ b/lib/sod.h @@ -53,7 +53,7 @@ struct sod_vtable { * these. */ struct sod_instance { - struct sod_vtable *_vt; /* Pointer to (chain's) vtable */ + const struct sod_vtable *_vt; /* Pointer to (chain's) vtable */ }; /* Information about a particular chain of superclasses. In each class, -- 2.11.0