Browse Source

fixed a warning

feature/2015
Christian Kroll 16 years ago
parent
commit
5f14baf6d9
  1. 2
      scrolltext/scrolltext3.c

2
scrolltext/scrolltext3.c

@ -294,7 +294,7 @@ blob_t * setupBlob(char * str){
#ifndef AVR #ifndef AVR
// on non-AVR archs strtok_r fails for some reason if it operates on a // 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 // 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; str = blob->scrolltextBuffer;
#endif #endif
chop_cnt = 0; chop_cnt = 0;

Loading…
Cancel
Save