projects
/
vuplus_xbmc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #4852 from FernetMenta/aefixes
[vuplus_xbmc]
/
lib
/
UnrarXLib
/
smallfn.cpp
1
#include "rar.hpp"
2
3
int ToPercent(Int64 N1,Int64 N2)
4
{
5
if (N2==0)
6
return(0);
7
if (N2<N1)
8
return(100);
9
return(int64to32(N1*100/N2));
10
}
11
12
13
void RARInitData()
14
{
15
InitCRC();
16
ErrHandler.Clean();
17
}