opnsense-ports/editors/pdfedit/files/patch-src-kernel-cdict.h
Franco Fichtner 90ef50b3b0 */*: sync with upstream
Taken from: FreeBSD
2016-06-12 10:22:14 +02:00

20 lines
632 B
C

--- src/kernel/cdict.h.orig 2010-04-27 18:42:09 UTC
+++ src/kernel/cdict.h
@@ -799,7 +799,7 @@ setSimpleValueInDict (const IProperty& i
}
// Cast it to dict
- CDict* dict = dynamic_cast<const CDict*> (&ip);
+ const CDict* dict = dynamic_cast<const CDict*> (&ip);
setSimpleValueInDict<Value, ItemType, ItemPType> (*dict, name, val);
}
@@ -812,7 +812,7 @@ setSimpleValueInDict (const IProperty& i
throw ElementBadTypeException ("");
// Cast it to dict
- CDict* dict = dynamic_cast<const CDict*> (&ip);
+ const CDict* dict = dynamic_cast<const CDict*> (&ip);
setSimpleValueInDict<ItemType> (*dict, name, val);
}