Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: nss/lib/freebl/unix_rand.c

Issue 16132005: Allow NSS to be built with NO_NSPR_10_SUPPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nss/lib/freebl/sha_fast.c ('k') | nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nss/lib/freebl/unix_rand.c
===================================================================
--- nss/lib/freebl/unix_rand.c (revision 203524)
+++ nss/lib/freebl/unix_rand.c (working copy)
@@ -33,7 +33,7 @@
static size_t CopyLowBits(void *dst, size_t dstlen, void *src, size_t srclen)
{
union endianness {
- int32 i;
+ PRInt32 i;
char c[4];
} u;
@@ -601,7 +601,7 @@
static size_t
GetHighResClock(void *buf, size_t maxbytes)
{
- bigtime_t bigtime; /* Actually an int64 */
+ bigtime_t bigtime; /* Actually a int64 */
bigtime = real_time_clock_usecs();
return CopyLowBits(buf, maxbytes, &bigtime, sizeof(bigtime));
@@ -611,7 +611,7 @@
GiveSystemInfo(void)
{
system_info *info = NULL;
- int32 val;
+ PRInt32 val;
get_system_info(info);
if (info) {
val = info->boot_time;
« no previous file with comments | « nss/lib/freebl/sha_fast.c ('k') | nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698