Switched YAML::Binary interface to use unsigned chars, not chars

This commit is contained in:
Jesse Beder
2011-09-06 00:39:31 -05:00
parent fadca5a89d
commit dd1eb715c4
4 changed files with 8 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ namespace YAML
bool WriteAnchor(ostream& out, const std::string& str);
bool WriteTag(ostream& out, const std::string& str, bool verbatim);
bool WriteTagWithPrefix(ostream& out, const std::string& prefix, const std::string& tag);
bool WriteBinary(ostream& out, const char *data, std::size_t size);
bool WriteBinary(ostream& out, const unsigned char *data, std::size_t size);
}
}