iCIMS interview question

Fix the error in this code involving bitwise operations.