From 3a5f81426395f1468e6d88e98da984a3fc2c2e78 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 30 Dec 2018 15:23:59 +0100 Subject: Use config file for boostrap nodes, currently set to localhost for debug --- src/GtkGif.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/GtkGif.cpp') 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 +} -- cgit v1.2.3