Changeset 1943


Ignore:
Timestamp:
May 26, 2008, 11:04:09 AM (11 years ago)
Author:
bruno
Message:

Fix a comparison bug in libmondo-stream (pointers vs integers - gcc warning)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.6/mondo/src/common/libmondo-stream.c

    r1940 r1943  
    471471        }
    472472        res = read_header_block_from_stream(ptmp_size, fname, pctrl_chr);
    473         if (pctrl_chr == BLK_START_AN_AFIO_OR_SLICE) {
     473        if (*pctrl_chr == BLK_START_AN_AFIO_OR_SLICE) {
    474474            log_msg(1, "No acl attributes found, skipping to afio files");
    475475            return(0);
    476476        } else {
    477             if (pctrl_chr != BLK_START_EXTENDED_ATTRIBUTES) {
     477            if (*pctrl_chr != BLK_START_EXTENDED_ATTRIBUTES) {
    478478                wrong_marker(BLK_START_EXTENDED_ATTRIBUTES, *pctrl_chr);
    479479            }
Note: See TracChangeset for help on using the changeset viewer.