openbsd-ports/textproc/raptor/patches/patch-src_raptor_serialize_c

13 lines
405 B
Plaintext

Index: src/raptor_serialize.c
--- src/raptor_serialize.c.orig
+++ src/raptor_serialize.c
@@ -240,7 +240,7 @@ raptor_get_serializer_factory(raptor_world* world, con
int
raptor_world_get_serializers_count(raptor_world* world)
{
- RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL);
+ RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, 0);
raptor_world_open(world);