diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2011-10-23 17:44:26 +0200 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2011-10-23 17:44:26 +0200 |
commit | 54b9cde7363fa33091166e4d3b47109a30cc8f81 (patch) | |
tree | 02a4992f57f7e9cfb5c03dddcdb8af25cd5ba6c7 | |
parent | ef81a4585a46686c484e275f7063f6af013b096a (diff) | |
download | vdr-plugin-eepg-54b9cde7363fa33091166e4d3b47109a30cc8f81.tar.gz vdr-plugin-eepg-54b9cde7363fa33091166e4d3b47109a30cc8f81.tar.bz2 |
compile fix
-rw-r--r-- | dish.c | 4 | ||||
-rw-r--r-- | dish.h | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -368,7 +368,7 @@ namespace SI return critiques[starRating & 0x07]; } - const char *DishDescriptor::Decompress(unsigned char Tid, CharArray data) + unsigned char* DishDescriptor::Decompress(unsigned char Tid, CharArray data) { const unsigned char *str = data.getData(); const unsigned char *cmp = NULL; @@ -386,7 +386,7 @@ namespace SI if(length <= 0 || !dLength) return NULL; - char *decompressed = new unsigned char[dLength + 1]; + unsigned char* decompressed = new unsigned char[dLength + 1]; HuffmanTable *table; unsigned int tableSize, numBits; if (Tid > 0x80) { @@ -11,6 +11,7 @@ #define LIBSI_DISH_H #include <libsi/util.h> +#include <libsi/descriptor.h> namespace SI { @@ -265,7 +266,7 @@ public: protected: // Decompress the byte array and stores the result to a text string - const char *Decompress(unsigned char Tid, CharArray data); + unsigned char* Decompress(unsigned char Tid, CharArray data); const char* name; // name of the event const char* shortText; // usually the episode name const char* description; // description of the event |