Changeset 30885


Ignore:
Timestamp:
11/08/14 13:55:18 (9 years ago)
Author:
obi
Message:

fix warnings

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/cec.h

    r30813 r30885  
    175175        addchoicebox(cecfix, "1", _("yes"));
    176176        if(getconfigint("cec_fixedAddress", NULL) == 0)
    177                 setchoiceboxselection(cecfix, 0);
     177                setchoiceboxselection(cecfix, "0");
    178178        else
    179                 setchoiceboxselection(cecfix, 1);
     179                setchoiceboxselection(cecfix, "1");
    180180       
    181181       
     
    302302        setFixedPhysicalAddress(getconfigint("cec_fixedAddress", NULL));
    303303       
    304         return 0;
     304        return;
    305305}
    306306               
  • titan/titan/oled.h

    r30884 r30885  
    4141printf("b2: value: %s\n", value);
    4242printf("b3: getskinconfig: %s\n", getskinconfig("OLED_nemesis", NULL));
    43 printf("b4: getscreen: %d\n", getscreen(getskinconfig("OLED_nemesis", NULL)));
     43if(getscreen(getskinconfig("OLED_nemesis", NULL)) == NULL)
     44        printf("b4: getscreen: NULL\n");
     45
    4446
    4547                OLED_nemesis = getscreen(getskinconfig("OLED_nemesis", NULL));
Note: See TracChangeset for help on using the changeset viewer.