Skip to content

Commit d7947f9

Browse files
committed
! quick (minor) fixes
1 parent 54fd248 commit d7947f9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

vrs/MultiRecordFileReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ uint32_t MultiRecordFileReader::getRecordCount() const {
134134
if (hasSingleFile()) {
135135
return readers_.front()->getRecordCount();
136136
}
137-
return (size_t)XR_DEV_PRECONDITION_NOTNULL(recordIndex_)->size();
137+
return (uint32_t)XR_DEV_PRECONDITION_NOTNULL(recordIndex_)->size();
138138
}
139139

140140
uint32_t MultiRecordFileReader::getRecordCount(UniqueStreamId uniqueStreamId) const {

vrs/os/System.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ string vrs::os::getOsFingerPrint() {
9393
#if _MSC_VER < 1900
9494

9595
dwVersion = GetVersion();
96-
Get the Windows version.dwMajorVersion = (DWORD)(LOBYTE(LOWORD(dwVersion)));
96+
// Get the Windows version.
97+
dwMajorVersion = (DWORD)(LOBYTE(LOWORD(dwVersion)));
9798
dwMinorVersion = (DWORD)(HIBYTE(LOWORD(dwVersion)));
9899

99100
// Get the build number.

0 commit comments

Comments
 (0)