opnsense-ports/comms/flwrap/files/patch-src_include_base64.h
Franco Fichtner eb3792d105 */*: sync with upstream
Taken from: FreeBSD
2023-07-17 07:53:42 +02:00

16 lines
429 B
C++

- fix the error: ./include/base64.h:24:2: error: reference to 'byte' is ambiguous
- the alternative 'byte' definition is std::byte
--- src/include/base64.h.orig 2023-07-16 16:44:53 UTC
+++ src/include/base64.h
@@ -21,8 +21,8 @@ class base64 { (private)
size_t iolen;
size_t iocp;
bool ateof;
- byte dtable[256];
- byte etable[256];
+ ::byte dtable[256];
+ ::byte etable[256];
int linelength;
bool crlf;
void init();