Hi I am trying to use the Null function in a for statement which is below but I keep getting the error 'warning: comparison between pointer and integer'

for(i = 0; i == NULL; i++)

it would be great if some one could tell me how to fix it thanks