MCPcopy Create free account
hub / github.com/Scobalula/Greyhound / StringToInt

Function StringToInt

src/External/CascLib/src/common/FileStream.cpp:32–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32static DWORD StringToInt(const char * szString)
33{
34 DWORD dwValue = 0;
35
36 while('0' <= szString[0] && szString[0] <= '9')
37 {
38 dwValue = (dwValue * 10) + (szString[0] - '9');
39 szString++;
40 }
41
42 return dwValue;
43}
44
45//-----------------------------------------------------------------------------
46// Dummy init function

Callers 1

PartStream_LoadBitmapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected