summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-20 16:16:18 +0100
committerGitHub <noreply@github.com>2019-11-20 16:16:18 +0100
commit29e2aa10c3985b8b86a389d1359c2cf149aff0ca (patch)
tree1610a7b522c230a2ec3953dc83d1fb190c4f2796
parent1ac4cb1a8fe20a0b60408006a7a9f92714f140ca (diff)
parent693321d156415067cf64e203f3251815a9ef79bd (diff)
Merge pull request #5 from Gofilex/increase-max-length
Allow e.g. larger DKDMs for CPLs with 40+ unique sound and picture assets.
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index bc109c62..992c5a61 100644
--- a/src/util.h
+++ b/src/util.h
@@ -69,7 +69,7 @@ extern void init ();
extern int base64_decode (std::string const & in, unsigned char* out, int out_length);
extern boost::optional<boost::filesystem::path> relative_to_root (boost::filesystem::path root, boost::filesystem::path file);
extern FILE * fopen_boost (boost::filesystem::path, std::string);
-extern std::string file_to_string (boost::filesystem::path, uintmax_t max_length = 65536);
+extern std::string file_to_string (boost::filesystem::path, uintmax_t max_length = 1048576);
extern std::string private_key_fingerprint (std::string key);
extern xmlpp::Node* find_child (xmlpp::Node const * node, std::string name);
extern std::string openjpeg_version();