Changeset 8519f45 for protocols/oscar


Ignore:
Timestamp:
2015-01-26T02:43:34Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
be1efa3
Parents:
95e17fc
git-author:
dequis <dx@…> (18-01-15 05:18:40)
git-committer:
dequis <dx@…> (26-01-15 02:43:34)
Message:

Silence some oscar compilation warnings

And that's enough editing of the oscar protocol code for 2015

Location:
protocols/oscar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/chat.c

    r95e17fc r8519f45  
    6767         */
    6868        for (i = 0; i < sizeof(ckstr); i++)
    69                 aimutil_put8(ckstr+i, (guint8) rand());
     69                (void) aimutil_put8(ckstr+i, (guint8) rand());
     70       
    7071
    7172        cookie = aim_mkcookie(ckstr, AIM_COOKIETYPE_CHAT, NULL);
     
    228229         */
    229230        for (i = 0; i < sizeof(ckstr); i++)
    230                 aimutil_put8(ckstr, (guint8) rand());
     231                (void) aimutil_put8(ckstr, (guint8) rand());
    231232
    232233        /* XXX should be uncached by an unwritten 'invite accept' handler */
  • protocols/oscar/tlv.c

    r95e17fc r8519f45  
    181181        guint8 v8[1];
    182182
    183         aimutil_put8(v8, v);
     183        (void) aimutil_put8(v8, v);
    184184
    185185        return aim_addtlvtochain_raw(list, t, 1, v8);
     
    199199        guint8 v16[2];
    200200
    201         aimutil_put16(v16, v);
     201        (void) aimutil_put16(v16, v);
    202202
    203203        return aim_addtlvtochain_raw(list, t, 2, v16);
     
    217217        guint8 v32[4];
    218218
    219         aimutil_put32(v32, v);
     219        (void) aimutil_put32(v32, v);
    220220
    221221        return aim_addtlvtochain_raw(list, t, 4, v32);
Note: See TracChangeset for help on using the changeset viewer.