diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2010-02-25 01:43:18 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2010-02-25 01:43:18 +0000 |
commit | 02a30bfecdd841b4ca48acfc9b5f2df7930e7a69 (patch) | |
tree | 0a86343ad37f77c10ed6cea35b49e5ff2b926163 /Meter.h | |
parent | 5cc89986887de19c8898ce36e3776b3483a72f2d (diff) |
warning fixes
Diffstat (limited to 'Meter.h')
-rw-r--r-- | Meter.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -44,7 +44,7 @@ typedef void(*Meter_Draw)(Meter*, int, int, int); struct MeterMode_ { Meter_Draw draw; - char* uiName; + const char* uiName; int h; }; @@ -55,9 +55,9 @@ struct MeterType_ { int items; double total; int* attributes; - char* name; - char* uiName; - char* caption; + const char* name; + const char* uiName; + const char* caption; MeterType_Init init; MeterType_Done done; MeterType_SetMode setMode; @@ -120,7 +120,7 @@ Meter* Meter_new(ProcessList* pl, int param, MeterType* type); void Meter_delete(Object* cast); -void Meter_setCaption(Meter* this, char* caption); +void Meter_setCaption(Meter* this, const char* caption); void Meter_setMode(Meter* this, int modeIndex); |