summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2021-05-11 13:16:41 +0200
committerFrançois Andriot <francois.andriot@free.fr>2021-05-11 13:18:28 +0200
commita499c5423bb9ada3d01d76bb9535a7968956445d (patch)
tree5c4338fa4729900a37923d54de04f39ba650aed8
parente053314f0e2f11adc8329bb61594d88c57002982 (diff)
downloadkpilot-a499c5423bb9ada3d01d76bb9535a7968956445d.tar.gz
kpilot-a499c5423bb9ada3d01d76bb9535a7968956445d.zip
Fix ftbfs on Fedora 34
error: reference to ‘byte’ is ambiguous Signed-off-by: François Andriot <francois.andriot@free.fr>
-rw-r--r--conduits/docconduit/makedoc9.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/conduits/docconduit/makedoc9.h b/conduits/docconduit/makedoc9.h
index 27e3695..7229c04 100644
--- a/conduits/docconduit/makedoc9.h
+++ b/conduits/docconduit/makedoc9.h
@@ -61,7 +61,7 @@ class tBuf {
// int hicharnum;
// bool space;
- byte * buf;
+ ::byte * buf;
unsigned len;
bool isCompressed;
public:
@@ -81,9 +81,9 @@ class tBuf {
delete[]buf;
buf = 0L;
}
- void setText(const byte * text, unsigned int txtlen =
+ void setText(const ::byte * text, unsigned int txtlen =
0, bool txtcomp = false);
- byte *text() const {
+ ::byte *text() const {
return buf;
}
unsigned Len() const {
@@ -102,7 +102,7 @@ class tBuf {
unsigned Compress();
private:
- unsigned Issue(byte src, int &bSpace);
+ unsigned Issue(::byte src, int &bSpace);
void Dump() const {
printf("\nbuffer len=%d", len);
}};