[PATCH 1/5] tools/winedump/msc: use the correct type for reading LF_(U)QUADWORD numeric leaves
Alexandre Julliard
julliard at winehq.org
Thu Dec 16 12:16:20 CST 2021
Eric Pouech <eric.pouech at gmail.com> writes:
> @@ -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;
I don't think I see why 'long' would be the correct type here.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list