opnsense-ports/print/panda/files/patch-objects.c
Franco Fichtner e2e9f18bcc */*: sync with upstream
Taken from: FreeBSD
2016-06-21 05:37:51 +02:00

11 lines
424 B
C

--- objects.c.orig 2016-06-20 16:04:03 UTC
+++ objects.c
@@ -99,7 +99,7 @@ panda_newobject (panda_pdf * doc, int ty
created->children = (panda_child *) panda_xmalloc (sizeof (panda_child));
((panda_child *) created->children)->next = NULL;
- (panda_child *) created->cachedLastChild = NULL;
+ created->cachedLastChild = NULL;
// By default this object is not a pages object
created->isPages = panda_false;