Comparing a pointer (data) with 0 using > is incorrect. The changed