ICU-790 limits.h addition changes for HP11

X-SVN-Rev: 3370
This commit is contained in:
George Rhoten 2001-01-03 02:48:20 +00:00
parent 937fa66aa6
commit 1371a43d35
2 changed files with 4 additions and 2 deletions

View file

@ -21,6 +21,7 @@
#include "unicode/unistr.h"
#include "unicode/resbund.h"
#include "restest.h"
#include <limits.h>
//***************************************************************************************
@ -144,7 +145,7 @@ randul()
double
randd()
{
return (double)(randul() / UINT32_MAX);
return (double)(randul() / ULONG_MAX);
}
/**

View file

@ -21,6 +21,7 @@
#include "unicode/unistr.h"
#include "unicode/resbund.h"
#include "restsnew.h"
#include <limits.h>
//***************************************************************************************
@ -144,7 +145,7 @@ randul()
static double
randd()
{
return ((double)randul()) / UINT32_MAX;
return (double)(randul() / ULONG_MAX);
}
/**