AMD interview question

Fix a compilation error file to compile correctly