comparison cinst/mozilla.c @ 246:1efe494c3d2b

Explicit tyoe cast to fix warning on 64bit Jessie.
author Sascha Wilde <wilde@intevation.de>
date Sat, 29 Mar 2014 15:19:45 +0100
parents fbd74e2370de
children bd7fb50078b4
comparison
equal deleted inserted replaced
245:fbd74e2370de 246:1efe494c3d2b
341 if ((str_base64_decode((char **)(&dercert), &dercertlen, 341 if ((str_base64_decode((char **)(&dercert), &dercertlen,
342 b64, b64len) == 0) && 342 b64, b64len) == 0) &&
343 (dercertlen > 0)) 343 (dercertlen > 0))
344 { 344 {
345 secitem->data = dercert; 345 secitem->data = dercert;
346 secitem->len = dercertlen; 346 secitem->len = (unsigned int) dercertlen;
347 return true; 347 return true;
348 } 348 }
349 else 349 else
350 DEBUGPRINTF("Base64 decode failed for: %s\n", b64); 350 DEBUGPRINTF("Base64 decode failed for: %s\n", b64);
351 return false; 351 return false;

http://wald.intevation.org/projects/trustbridge/