blob: 094691f0288d82c728f03ee13290f52eba271ca3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "rar.hpp"
int ToPercent(Int64 N1,Int64 N2)
{
if (N2==0)
return(0);
if (N2<N1)
return(100);
return(int64to32(N1*100/N2));
}
void RARInitData()
{
InitCRC();
ErrHandler.Clean();
}
|