Changeset dd2cfa7 in mainline for kernel/generic/src/lib/string.c


Ignore:
Timestamp:
2009-08-02T22:11:28Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
19490ce
Parents:
fa5526d
Message:

Even more warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/lib/string.c

    rfa5526d rdd2cfa7  
    638638 *
    639639 */
    640 const char *str_chr(const char *str, wchar_t ch)
     640char *str_chr(const char *str, wchar_t ch)
    641641{
    642642        wchar_t acc;
     
    646646        while ((acc = str_decode(str, &off, STR_NO_LIMIT)) != 0) {
    647647                if (acc == ch)
    648                         return (str + last);
     648                        return (char *) (str + last);
    649649                last = off;
    650650        }
Note: See TracChangeset for help on using the changeset viewer.