From 3c9b4d23704e9460e7c3a0d5baa2c9d32feee116 Mon Sep 17 00:00:00 2001 From: Dimitar Petrovski Date: Thu, 22 Sep 2011 18:38:52 +0200 Subject: fix compile --- dish.c | 7 ++++--- dish.h | 8 ++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/dish.c b/dish.c index 7ea85b1..d24c32f 100644 --- a/dish.c +++ b/dish.c @@ -12,9 +12,10 @@ #include "dish.h" #include -#include +//#include #include #include +#include namespace SI { @@ -306,8 +307,8 @@ namespace SI const char *DishDescriptor::getDescription(void) { string tmp = ""; if (description != NULL) tmp += *description; - char* rating = getRating(); - if (rating && rating != "") { + const char* rating = getRating(); + if (rating && strcmp(rating,"") != 0) { if(tmp != "") tmp += "|"; tmp += rating; } diff --git a/dish.h b/dish.h index 7510c67..e6a5b9b 100644 --- a/dish.h +++ b/dish.h @@ -10,6 +10,10 @@ #ifndef LIBSI_DISH_H #define LIBSI_DISH_H +#include +#include +#include + namespace SI { @@ -267,8 +271,8 @@ protected: string *shortText; // usually the episode name string *description; // description of the event unsigned char *decompressed; - uchar DishTheme; - uchar DishCategory; + unsigned char DishTheme; + unsigned char DishCategory; uint16_t mpaaRating; uint16_t starRating; -- cgit v1.2.3