From 0fac3f3c92bebfea922f3d0797b516667f63897c Mon Sep 17 00:00:00 2001
From: Vipin Thomas <vipin.thomas@stud.th-deg.de>
Date: Tue, 22 Jun 2021 15:32:53 +0000
Subject: [PATCH] Update pixel.cpp

---
 pixel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pixel.cpp b/pixel.cpp
index 4ba739f..cc89ef3 100644
--- a/pixel.cpp
+++ b/pixel.cpp
@@ -134,6 +134,6 @@ int dec = 0, i = 7, b=0,rem=0;
 
 void toAscii(char *c) {
     int n=(int)*c;
-    c=(char)n;
+    c=*(char)n;
 }
 
-- 
GitLab