aboutsummaryrefslogtreecommitdiff
path: root/launcher/HoeDown.h
diff options
context:
space:
mode:
authorBensuperpc <bensuperpc@gmail.com>2022-10-22 13:04:48 +0200
committerBensuperpc <bensuperpc@gmail.com>2022-10-22 13:04:48 +0200
commit56ae4e5b6ad984d4c9569cb024d807bd695555a6 (patch)
tree6c57be7ca586d98f98e7be40fc9c0343eba2696c /launcher/HoeDown.h
parent7a8c9637225f457d4648a00ff7d8031acd403730 (diff)
downloadPrismLauncher-56ae4e5b6ad984d4c9569cb024d807bd695555a6.tar.gz
PrismLauncher-56ae4e5b6ad984d4c9569cb024d807bd695555a6.tar.bz2
PrismLauncher-56ae4e5b6ad984d4c9569cb024d807bd695555a6.zip
Change old style cast to C++ cast
Change old style cast to C++ cast Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
Diffstat (limited to 'launcher/HoeDown.h')
-rw-r--r--launcher/HoeDown.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/HoeDown.h b/launcher/HoeDown.h
index b9e06ffb..cb62de6c 100644
--- a/launcher/HoeDown.h
+++ b/launcher/HoeDown.h
@@ -42,7 +42,7 @@ public:
}
void put(QByteArray input)
{
- hoedown_buffer_put(buf, (uint8_t *) input.data(), input.size());
+ hoedown_buffer_put(buf, reinterpret_cast<uint8_t *>(input.data()), input.size());
}
const uint8_t * data() const
{