Commit 3b2a3cdd77957e90ab8c07094666d8bdd2e43993

Authored by Jay Berkenbilt
1 parent d5bfd49c

Fix setLineBuf for bsd (fixes #177)

Use 0 instead of NULL in a cast.
Showing 1 changed file with 1 additions and 1 deletions
libqpdf/QUtil.cc
@@ -354,7 +354,7 @@ void @@ -354,7 +354,7 @@ void
354 QUtil::setLineBuf(FILE* f) 354 QUtil::setLineBuf(FILE* f)
355 { 355 {
356 #ifndef _WIN32 356 #ifndef _WIN32
357 - setvbuf(f, reinterpret_cast<char *>(NULL), _IOLBF, 0); 357 + setvbuf(f, reinterpret_cast<char *>(0), _IOLBF, 0);
358 #endif 358 #endif
359 } 359 }
360 360