replaced Q_UINT with quint
git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@80 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
@@ -34,8 +34,8 @@ dev_random = fopen("/dev/urandom","r");}
|
||||
if (dev_random==NULL){
|
||||
srand(QTime(0,0,0).secsTo(QTime::currentTime()));
|
||||
for(int i=0;i<NumBlocks*BlockSize;i++){
|
||||
Q_UINT8 rnd=rand()%256;
|
||||
((Q_UINT8*)buffer)[i]=rnd;
|
||||
quint8 rnd=rand()%256;
|
||||
((quint8*)buffer)[i]=rnd;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user