diff --git a/pixel.cpp b/pixel.cpp index 4ba739f864cf0cdb0fe4d421bcace1726fcc1d33..cc89ef3b68a591aebab0285ce0a1cfa1cb9414af 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; }