no match for ‘operator!=’ (gcc, linux)

Ошибка при сборке middleman 2.0.1, gcc 4.7

src/template.c: In member function ‘Filebuf* TemplateSection::get(CONNECTION*, const char*, int*)’:
src/template.c:135:16: error: no match for ‘operator!=’ in ‘templ != 0’
src/template.c:135:16: note: candidates are:

На 135 строке файла template.c:

if ( templ != NULL && ret != NULL && code != NULL)
*code = templ->code;  

1 комментарий