[PATCH 1/5] tools/winedump/msc: use the correct type for reading LF_(U)QUADWORD numeric leaves

Eric Pouech eric.pouech at gmail.com
Wed Dec 15 06:31:53 CST 2021


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 tools/winedump/msc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/winedump/msc.c b/tools/winedump/msc.c
index f0856b2a6a2..9868770abbb 100644
--- a/tools/winedump/msc.c
+++ b/tools/winedump/msc.c
@@ -95,13 +95,13 @@ static int full_numeric_leaf(struct full_value* fv, const unsigned short int* le
         case LF_QUADWORD:
             length += 8;
             fv->type = fv_longlong;
-            fv->v.llu = *(const long long int*)leaf;
+            fv->v.llu = *(const long int*)leaf;
             break;
 
         case LF_UQUADWORD:
             length += 8;
             fv->type = fv_longlong;
-            fv->v.llu = *(const long long unsigned int*)leaf;
+            fv->v.llu = *(const long unsigned int*)leaf;
             break;
 
         case LF_REAL32:




More information about the wine-devel mailing list