From 9b488f89fd7584688542d9e811cc415de84e5060 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 6 Feb 2019 21:06:12 +0000 Subject: [PATCH] Make the default python-type for Chars an int rather than a bytes. --- volatility/framework/objects/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility/framework/objects/__init__.py b/volatility/framework/objects/__init__.py index 82f5d7b4e..f1b7cf6b8 100644 --- a/volatility/framework/objects/__init__.py +++ b/volatility/framework/objects/__init__.py @@ -173,9 +173,9 @@ class Float(PrimitiveObject, float): _struct_type = float # type: ClassVar[Type] -class Char(PrimitiveObject, bytes): +class Char(PrimitiveObject, int): """Primitive Object that handles characters""" - _struct_type = bytes # type: ClassVar[Type] + _struct_type = int # type: ClassVar[Type] class Bytes(PrimitiveObject, bytes):