#include <stdio.h>
#define dbg_printf(fmt, var) printf("0x%08lx\t"#var"\t"fmt"\r\n", &var, var)
struct GFF_File {
char FileType[4];
};
int main()
{
GFF_File MEMORY_gff = {"foo"};
GFF_File *test = (GFF_File *)&MEMORY_gff;
dbg_printf("%.4s", test->FileType);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgojZGVmaW5lIGRiZ19wcmludGYoZm10LCB2YXIpIHByaW50ZigiMHglMDhseFx0IiN2YXIiXHQiZm10IlxyXG4iLCAmdmFyLCB2YXIpCgpzdHJ1Y3QgR0ZGX0ZpbGUgewoJY2hhcglGaWxlVHlwZVs0XTsKfTsKCmludCBtYWluKCkKewoJR0ZGX0ZpbGUgTUVNT1JZX2dmZiA9IHsiZm9vIn07CglHRkZfRmlsZSAqdGVzdCA9IChHRkZfRmlsZSAqKSZNRU1PUllfZ2ZmOwoKCWRiZ19wcmludGYoIiUuNHMiLCB0ZXN0LT5GaWxlVHlwZSk7CglyZXR1cm4gMDsKfQo=