summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-11 22:05:57 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-11 22:05:57 +0100
commit91bcf6289c86d08fc994f123b0fd6ec2f2ba6603 (patch)
treeeb46cce64c3525f2c2556447a776777cbec85ef8 /src
parent037dac07bd93565978eb3b3265332a5be4e5e30a (diff)
A couple of things seem to be optional in real life.
Diffstat (limited to 'src')
-rw-r--r--src/asset_map.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asset_map.cc b/src/asset_map.cc
index 9276170c..b77c4ac1 100644
--- a/src/asset_map.cc
+++ b/src/asset_map.cc
@@ -27,7 +27,7 @@ Chunk::Chunk (xmlpp::Node const * node)
{
path = string_node ("Path");
volume_index = int64_node ("VolumeIndex");
- offset = int64_node ("Offset");
- length = int64_node ("Length");
+ offset = optional_int64_node ("Offset");
+ length = optional_int64_node ("Length");
}