diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-21 15:43:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-21 15:43:15 +0100 |
| commit | a05f25fc0e70ecd5c51984c9efccd2377ebb8ffe (patch) | |
| tree | d2aae6c6180e57ac28b59fb5d3384e0efe1a0867 /src | |
| parent | 911c9c498c290debdf108ea5fbb6b93db459a29d (diff) | |
Fix incorrect assertion.
Diffstat (limited to 'src')
| -rw-r--r-- | src/stl_binary_writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stl_binary_writer.cc b/src/stl_binary_writer.cc index 127bb97..1e85b81 100644 --- a/src/stl_binary_writer.cc +++ b/src/stl_binary_writer.cc @@ -102,8 +102,8 @@ sub::write_stl_binary ( assert (translated_episode_title.size() <= 32); assert (translator_name.size() <= 32); assert (translator_contact_details.size() <= 32); - assert (creation_date.size() == 8); - assert (revision_date.size() == 8); + assert (creation_date.size() == 6); + assert (revision_date.size() == 6); assert (revision_number <= 99); assert (country_of_origin.size() == 3); assert (publisher.size() <= 32); |
