[CRIU] [PATCH] protobuf: set field size to proper value fro "ENUM"
type
Kinsbursky Stanislav
skinsbursky at openvz.org
Thu Jul 26 10:44:35 EDT 2012
Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
---
protobuf.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/protobuf.c b/protobuf.c
index f5b5bd4..4a5d861 100644
--- a/protobuf.c
+++ b/protobuf.c
@@ -138,6 +138,7 @@ static void pb_show_field(const ProtobufCFieldDescriptor *fd, void *where,
case PROTOBUF_C_TYPE_ENUM:
show = show_enum;
ctl->arg = (void *)fd->descriptor;
+ fsize = 4;
break;
case PROTOBUF_C_TYPE_FLOAT:
case PROTOBUF_C_TYPE_DOUBLE:
More information about the CRIU
mailing list