Changeset d4475a44 in mainline for uspace/lib/c/include/adt/list.h


Ignore:
Timestamp:
2018-07-08T17:58:56Z (7 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
914c693
Parents:
6abff2a8
Message:

use uint8_t * instead of char *

Technically, there should be no difference on all current platforms. But
the intention is more clear and it is failproof.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/adt/list.h

    r6abff2a8 rd4475a44  
    4040#include <stdbool.h>
    4141#include <stddef.h>
     42#include <stdint.h>
    4243#include <trace.h>
    4344
     
    421422
    422423        list_remove(tmp);
    423         return (void *)(((char *) tmp) - offset);
     424        return (void *) (((uint8_t *) tmp) - offset);
    424425}
    425426
Note: See TracChangeset for help on using the changeset viewer.