Changeset 589

Show
Ignore:
Timestamp:
08/19/08 16:15:45
Author:
rachel
Message:

Remove unwanted casting.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openpgpsdk/trunk/src/lib/errors.c

    r588 r589  
    8686    ERRNAME(OPS_E_PROTO_BAD_SK_CHECKSUM), 
    8787 
    88     { 0x00,             (char *)NULL }, /* this is the end-of-array marker */ 
     88    { 0x00,             NULL }, /* this is the end-of-array marker */ 
    8989    }; 
    9090 
  • openpgpsdk/trunk/src/lib/packet-show.c

    r584 r589  
    110110    { OPS_PARSER_ERRCODE,               "OPS_PARSER_ERRCODE" }, 
    111111 
    112     { 0x00,             (char *)NULL }, /* this is the end-of-array marker */ 
     112    { 0x00,             NULL }, /* this is the end-of-array marker */ 
    113113    }; 
    114114typedef ops_map_t packet_tag_map_t; 
     
    135135    { OPS_PTAG_SS_REVOCATION_REASON,    "Reason for Revocation" }, 
    136136    { OPS_PTAG_SS_FEATURES,             "Features" }, 
    137     { 0x00,             (char *)NULL }, /* this is the end-of-array marker */ 
     137    { 0x00,             NULL }, /* this is the end-of-array marker */ 
    138138    }; 
    139139typedef ops_map_t ss_type_map_t; 
     
    147147    { 0x03,     "Key is retired and no longer used" }, 
    148148    { 0x20,     "User ID information is no longer valid" }, 
    149     { 0x00,             (char *)NULL }, /* this is the end-of-array marker */ 
     149    { 0x00,             NULL }, /* this is the end-of-array marker */ 
    150150    }; 
    151151typedef ops_map_t ss_rr_code_map_t; 
     
    168168    { OPS_SIG_TIMESTAMP,        "Timestamp signature" }, 
    169169    { OPS_SIG_3RD_PARTY,        "Third-Party Confirmation signature" }, 
    170     { 0x00,             (char *)NULL }, /* this is the end-of-array marker */ 
     170    { 0x00,             NULL }, /* this is the end-of-array marker */ 
    171171    }; 
    172172typedef ops_map_t sig_type_map_t; 
     
    194194    { OPS_PKA_PRIVATE09,                "Private/Experimental" }, 
    195195    { OPS_PKA_PRIVATE10,                "Private/Experimental" }, 
    196     { 0x00,             (char *)NULL }, /* this is the end-of-array marker */ 
     196    { 0x00,             NULL }, /* this is the end-of-array marker */ 
    197197    }; 
    198198typedef ops_map_t public_key_algorithm_map_t; 
     
    209209    { OPS_SA_AES_256,           "AES (256-bit key)" }, 
    210210    { OPS_SA_TWOFISH,           "Twofish(256-bit key)" }, 
    211     { 0x00,             (char *)NULL }, /* this is the end-of-array marker */ 
     211    { 0x00,             NULL }, /* this is the end-of-array marker */ 
    212212    }; 
    213213 
     
    220220    { OPS_HASH_SHA384,  "SHA384" }, 
    221221    { OPS_HASH_SHA512,  "SHA512" }, 
    222     { 0x00,             (char *)NULL }, /* this is the end-of-array marker */ 
     222    { 0x00,             NULL }, /* this is the end-of-array marker */ 
    223223    }; 
    224224 
     
    229229    { OPS_C_ZLIB,       "ZLIB(RFC1950)" }, 
    230230    { OPS_C_BZIP2,      "Bzip2(BZ2)" }, 
    231     { 0x00,             (char *)NULL }, /* this is the end-of-array marker */ 
     231    { 0x00,             NULL }, /* this is the end-of-array marker */ 
    232232    }; 
    233233 
     
    235235    { 
    236236    { 0x80,     "Human-readable" }, 
    237     { 0x00,     (char *) NULL }, 
     237    { 0x00,     NULL }, 
    238238    }; 
    239239 
     
    246246    { 
    247247    { 0x01,     "Modification Detection" }, 
    248     { 0x00,     (char *) NULL }, 
     248    { 0x00,     NULL }, 
    249249    }; 
    250250 
     
    262262    { 0x10, "Private component may have been split by a secret-sharing mechanism"}, 
    263263    { 0x80, "Private component may be in possession of more than one person"}, 
    264     { 0x00, (char *)NULL }, 
     264    { 0x00, NULL }, 
    265265    }; 
    266266 
     
    268268    { 
    269269    { 0x80, "Key holder requests that this key only be modified or updated by the key holder or an administrator of the key server" }, 
    270     { 0x00, (char *)NULL }, 
     270    { 0x00, NULL }, 
    271271    }; 
    272272