aboutsummaryrefslogtreecommitdiff
path: root/src/GtkGif.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-12-30 15:23:59 +0100
committerdec05eba <dec05eba@protonmail.com>2018-12-30 15:24:04 +0100
commit3a5f81426395f1468e6d88e98da984a3fc2c2e78 (patch)
treea8025b09111d197384b72d6c9ea4d5ce7b862562 /src/GtkGif.cpp
parent67d933956f062bffef85f3158f7e5e19a13498ab (diff)
Use config file for boostrap nodes, currently set to localhost for debug
Diffstat (limited to 'src/GtkGif.cpp')
-rw-r--r--src/GtkGif.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GtkGif.cpp b/src/GtkGif.cpp
index 76a6ebe..dc5cc53 100644
--- a/src/GtkGif.cpp
+++ b/src/GtkGif.cpp
@@ -18,7 +18,7 @@ namespace dchat
{
unsigned char *pixels = surface->get_data();
surface->flush();
- char *p = (char*)textureData;
+ unsigned char *p = (unsigned char*)textureData;
// TODO: Optimize this
for(int i = 0; i < surface->get_stride() * surface->get_height(); i += 4)
{
@@ -48,4 +48,4 @@ namespace dchat
cairo->set_source(surface, 0.0, 0.0);
cairo->mask(surface, 0.0, 0.0);
}
-} \ No newline at end of file
+}