fixed a warning

This commit is contained in:
Christian Kroll 2009-08-02 14:48:11 +00:00
parent 118a026b2b
commit 5f14baf6d9
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ blob_t * setupBlob(char * str){
#ifndef AVR
// 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);
memcpy (blob->scrolltextBuffer, str, SCROLLTEXT_BUFFER_SIZE);
str = blob->scrolltextBuffer;
#endif
chop_cnt = 0;