1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Fixing more warnings (Paul Stoffregen).

This commit is contained in:
David A. Mellis
2011-10-10 11:28:44 -04:00
parent 965480f148
commit ca671fdc05
10 changed files with 19 additions and 18 deletions

View File

@ -18,7 +18,7 @@
uint8_t nfilecount=0;
*/
File::File(SdFile f, char *n) {
File::File(SdFile f, const char *n) {
// oh man you are kidding me, new() doesnt exist? Ok we do it by hand!
_file = (SdFile *)malloc(sizeof(SdFile));
if (_file) {