diff -uNr vdr-1.7.7/recording.c vdr-1.7.7-gcc44/recording.c --- vdr-1.7.7/recording.c 2009-04-13 15:50:39.000000000 +0200 +++ vdr-1.7.7-gcc44/recording.c 2009-05-27 16:32:31.000000000 +0200 @@ -622,8 +622,8 @@ Utf8Strn0Cpy(SubtitleBuffer, Subtitle, MAX_SUBTITLE_LENGTH); Subtitle = SubtitleBuffer; } - char *macroTITLE = strstr(Timer->File(), TIMERMACRO_TITLE); - char *macroEPISODE = strstr(Timer->File(), TIMERMACRO_EPISODE); + char *macroTITLE = strstr((char *)Timer->File(), TIMERMACRO_TITLE); + char *macroEPISODE = strstr((char *)Timer->File(), TIMERMACRO_EPISODE); if (macroTITLE || macroEPISODE) { name = strdup(Timer->File()); name = strreplace(name, TIMERMACRO_TITLE, Title); @@ -672,7 +672,7 @@ sortBuffer = NULL; fileName = strdup(FileName); FileName += strlen(VideoDirectory) + 1; - char *p = strrchr(FileName, '/'); + char *p = strrchr((char *)FileName, '/'); name = NULL; info = new cRecordingInfo; @@ -1155,7 +1155,7 @@ if (recording) { cThreadLock DeletedRecordingsLock(&DeletedRecordings); Del(recording, false); - char *ext = strrchr(recording->FileName(), '.'); + char *ext = strrchr((char *)recording->FileName(), '.'); if (ext) { strncpy(ext, DELEXT, strlen(ext)); recording->fileSizeMB = DirSizeMB(recording->FileName()); diff -uNr vdr-1.7.7/svdrp.c vdr-1.7.7-gcc44/svdrp.c --- vdr-1.7.7/svdrp.c 2009-04-13 15:35:29.000000000 +0200 +++ vdr-1.7.7-gcc44/svdrp.c 2009-05-27 16:33:28.000000000 +0200 @@ -739,7 +739,7 @@ char *strtok_next; FileName = strtok_r(p, delim, &strtok_next); // image type: - char *Extension = strrchr(FileName, '.'); + char *Extension = strrchr((char *)FileName, '.'); if (Extension) { if (strcasecmp(Extension, ".jpg") == 0 || strcasecmp(Extension, ".jpeg") == 0) Jpeg = true; @@ -799,12 +799,12 @@ if (FileName) { if (grabImageDir) { cString s; - char *slash = strrchr(FileName, '/'); + char *slash = strrchr((char *)FileName, '/'); if (!slash) { s = AddDirectory(grabImageDir, FileName); FileName = s; } - slash = strrchr(FileName, '/'); // there definitely is one + slash = strrchr((char *)FileName, '/'); // there definitely is one *slash = 0; char *r = realpath(FileName, RealFileName); *slash = '/';