Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:benkai:ntfs
lzma
lzma-4.32.5.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lzma-4.32.5.diff of Package lzma
--- src/lzma/Exception.h +++ src/lzma/Exception.h @@ -24,7 +24,7 @@ class Exception private: string message; public: - Exception(char *what): message(what) { } + Exception(const char *what): message(what) { } Exception(string what): message(what) { } ~Exception() { } @@ -35,7 +35,7 @@ public: class ArgumentException: public Exception { public: - ArgumentException(char *what): Exception(what) { } + ArgumentException(const char *what): Exception(what) { } ArgumentException(string what): Exception(what) { } ~ArgumentException() { } --- src/lzma/lzmp.cpp +++ src/lzma/lzmp.cpp @@ -27,6 +27,7 @@ using std::cout; using std::cerr; using std::endl; +#include <cstdlib> #include <cstdio> #include <cstring> @@ -89,7 +90,7 @@ struct lzma_option { short compression_mode; // -a short dictionary; // -d short fast_bytes; // -fb - wchar_t *match_finder; // -mf + const wchar_t *match_finder; // -mf short literal_context_bits; // -lc short literal_pos_bits; // -lp short pos_bits; // -pb @@ -112,8 +113,8 @@ const lzma_option option_mapping[] = { }; struct extension_pair { - char *from; - char *to; + const char *from; + const char *to; }; const extension_pair known_extensions[] = {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor