Index: nss/lib/libpkix/pkix/util/pkix_logger.c |
diff --git a/nss/lib/libpkix/pkix/util/pkix_logger.c b/nss/lib/libpkix/pkix/util/pkix_logger.c |
index cfd870def5504429d64a0fc180e0fc23166950a1..a916e6e4f446a7551193c61efbcd490c8f992eb0 100644 |
--- a/nss/lib/libpkix/pkix/util/pkix_logger.c |
+++ b/nss/lib/libpkix/pkix/util/pkix_logger.c |
@@ -492,7 +492,7 @@ pkix_Logger_Hashcode( |
PKIX_HASHCODE(logger->context, &tempHash, plContext, |
PKIX_OBJECTHASHCODEFAILED); |
- hash = (((((PKIX_UInt32) logger->callback + tempHash) << 7) + |
+ hash = (((((PKIX_UInt32)((char *)logger->callback - (char *)NULL) + tempHash) << 7) + |
logger->maxLevel) << 7) + (PKIX_UInt32)logger->logComponent; |
*pHashcode = hash; |