From 118a026b2baafbde692e9e31cf073fe7b0e09c6f Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Sun, 2 Aug 2009 14:45:46 +0000 Subject: [PATCH] fixed a warning --- scrolltext/scrolltext3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrolltext/scrolltext3.c b/scrolltext/scrolltext3.c index 1b9419d..257c382 100644 --- a/scrolltext/scrolltext3.c +++ b/scrolltext/scrolltext3.c @@ -295,7 +295,7 @@ blob_t * setupBlob(char * str){ // on non-AVR archs strtok_r fails for some reason if it operates on a // string which is located on another stack frame, so we need our own copy memcpy (&blob->scrolltextBuffer, str, SCROLLTEXT_BUFFER_SIZE); - str = &blob->scrolltextBuffer; + str = blob->scrolltextBuffer; #endif chop_cnt = 0; }