Changeset 8872

Show
Ignore:
Timestamp:
06/08/11 18:52:28 (2 years ago)
Author:
mtmoore
Message:

compiler warning cleanup

Location:
branches/Orange-Branch
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • branches/Orange-Branch/src/common/misc/pint-cached-config.c

    r8869 r8872  
    319319    } 
    320320 
    321     if(type != PINT_SERVER_TYPE_META && type != PINT_SERVER_TYPE_IO) 
     321    if((int)type != PINT_SERVER_TYPE_META && (int)type != PINT_SERVER_TYPE_IO) 
    322322    { 
    323323        return(-PVFS_EINVAL); 
     
    336336    assert(cur_config_cache->fs); 
    337337 
    338     if(type == PINT_SERVER_TYPE_META) 
     338    if((int)type == PINT_SERVER_TYPE_META) 
    339339    { 
    340340        server_cursor =  
  • branches/Orange-Branch/src/kernel/linux-2.6/inode.c

    r8806 r8872  
    9494        if (!add_to_page_cache(page, mapping, page->index, GFP_KERNEL)) { 
    9595            ret = read_one_page(page); 
     96            gossip_debug(GOSSIP_INODE_DEBUG, "failure adding page to cache, " 
     97                         "read_one_page returned: %d\n", ret); 
    9698        } 
    9799        else { 
  • branches/Orange-Branch/test/io/buffer/mt_test4.c

    r8871 r8872  
    2727    NCAC_info_t info; 
    2828 
    29     int ret1, ret2, ret3; 
     29    int ret1, ret2; 
    3030    int extcnt; 
    3131    int threadcnt; 
  • branches/Orange-Branch/test/io/trove/trove-ls.c

    r7959 r8872  
    9393    if (ret < 0) return -1; 
    9494 
    95     if (s_attr.type != TROVE_TEST_DIR) { 
     95    if ((int)s_attr.type != TROVE_TEST_DIR) { 
    9696        fprintf(stderr, "%s is not a directory.\n", path_name); 
    9797        return -1; 
  • branches/Orange-Branch/test/io/trove/trove-rm.c

    r7959 r8872  
    116116    if (ret < 0) return -1; 
    117117 
    118     if (s_attr.type != TROVE_TEST_FILE) { 
     118    if ((int)s_attr.type != TROVE_TEST_FILE) { 
    119119        fprintf(stderr, "%s is not a file.\n", file_name); 
    120120        return -1; 
  • branches/Orange-Branch/test/io/trove/trove-test.h

    r7500 r8872  
    9393        if (state != 0) return -1; 
    9494         
    95         if (s_attr.type != TROVE_TEST_DIR) { 
     95        if ((int)s_attr.type != TROVE_TEST_DIR) { 
    9696            fprintf(stderr, "%s is not a directory.\n", dir); 
    9797            return -1; 
  • branches/Orange-Branch/test/posix/libstat.c

    r5656 r8872  
    66#include <linux/types.h> 
    77#include <assert.h> 
    8 #include <linux/dirent.h> 
    98#include <linux/unistd.h> 
    109