If old pseudocode looks like this
int __cdecl main(int argc, const char **argv, const char **envp)
{
signed int i;
int v5;
__int64 v6;
v6 = 5208208757389214273LL;
v5 = 0;
for ( i = 0; i <= 7; ++i )
v5 += *((char *)&v6 + i);
return 0;
}
Select v6
and press Y (Set lvar type
in right click context). Change from __int64 v6
to char v6[8]
;
Now it looks like
int __cdecl main(int argc, const char **argv, const char **envp)
{
signed int i;
int v5;
char v6[8];
*(_QWORD *)v6 = 5208208757389214273LL;
v5 = 0;
for ( i = 0; i <= 7; ++i )
v5 += v6[i];
return 0;
}