glib-compat.h: change assert to g_assert
commitf20f2a1f339b99f5b840367236ddce9d9736247c
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 7 May 2015 10:38:02 +0000 (7 13:38 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 8 May 2015 11:11:10 +0000 (8 14:11 +0300)
treedcfa8d95d634afcfc4e522ebd16f720fb1163877
parentac9541579eb95b0b8c93ca58d0a074e1f22cd55a
glib-compat.h: change assert to g_assert

include/glib-compat.h defines a bunch of functions based on glib primitives,
and uses assert() without including assert.h.  Replace assert() with
g_assert() to make the file more self-contained, and to fix compilation
breakage after 28507a415a9b1e.

Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
include/glib-compat.h