mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
commit
ebc62d6f07
@ -0,0 +1,26 @@
|
|||||||
|
diff -Nrup a/CPP/Windows/ErrorMsg.cpp b/CPP/Windows/ErrorMsg.cpp
|
||||||
|
--- a/CPP/Windows/ErrorMsg.cpp 2015-01-18 11:20:28.000000000 -0700
|
||||||
|
+++ b/CPP/Windows/ErrorMsg.cpp 2019-09-24 13:01:18.887289152 -0600
|
||||||
|
@@ -14,14 +14,14 @@ UString MyFormatMessage(DWORD errorCode)
|
||||||
|
AString msg;
|
||||||
|
|
||||||
|
switch(errorCode) {
|
||||||
|
- case ERROR_NO_MORE_FILES : txt = "No more files"; break ;
|
||||||
|
- case E_NOTIMPL : txt = "E_NOTIMPL"; break ;
|
||||||
|
- case E_NOINTERFACE : txt = "E_NOINTERFACE"; break ;
|
||||||
|
- case E_ABORT : txt = "E_ABORT"; break ;
|
||||||
|
- case E_FAIL : txt = "E_FAIL"; break ;
|
||||||
|
- case STG_E_INVALIDFUNCTION : txt = "STG_E_INVALIDFUNCTION"; break ;
|
||||||
|
- case E_OUTOFMEMORY : txt = "E_OUTOFMEMORY"; break ;
|
||||||
|
- case E_INVALIDARG : txt = "E_INVALIDARG"; break ;
|
||||||
|
+ case unsigned (ERROR_NO_MORE_FILES) : txt = "No more files"; break ;
|
||||||
|
+ case unsigned (E_NOTIMPL) : txt = "E_NOTIMPL"; break ;
|
||||||
|
+ case unsigned (E_NOINTERFACE) : txt = "E_NOINTERFACE"; break ;
|
||||||
|
+ case unsigned (E_ABORT) : txt = "E_ABORT"; break ;
|
||||||
|
+ case unsigned (E_FAIL) : txt = "E_FAIL"; break ;
|
||||||
|
+ case unsigned (STG_E_INVALIDFUNCTION) : txt = "STG_E_INVALIDFUNCTION"; break ;
|
||||||
|
+ case unsigned (E_OUTOFMEMORY) : txt = "E_OUTOFMEMORY"; break ;
|
||||||
|
+ case unsigned (E_INVALIDARG) : txt = "E_INVALIDARG"; break ;
|
||||||
|
case ERROR_DIRECTORY : txt = "Error Directory"; break ;
|
||||||
|
default:
|
||||||
|
txt = strerror(errorCode);
|
@ -0,0 +1,11 @@
|
|||||||
|
--- a/squashfs-tools/mksquashfs.h
|
||||||
|
+++ b/squashfs-tools/mksquashfs.h
|
||||||
|
@@ -143,7 +143,7 @@ struct append_file {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
extern struct cache *reader_buffer, *fragment_buffer, *reserve_cache;
|
||||||
|
-struct cache *bwriter_buffer, *fwriter_buffer;
|
||||||
|
+extern struct cache *bwriter_buffer, *fwriter_buffer;
|
||||||
|
extern struct queue *to_reader, *to_deflate, *to_writer, *from_writer,
|
||||||
|
*to_frag, *locked_fragment, *to_process_frag;
|
||||||
|
extern struct append_file **file_mapping;
|
Loading…
x
Reference in New Issue
Block a user