History

remove multiplication overflow warning by ULL instead of LL

huili2 committed 12 years ago

Commit 887b2721 parent 91cd93e2 files · +6 −6Browse files

Showing the changes to codec/processing/src/common (1 of 2 files). Show all

Unified · Split

codec/processing/src/common/common.cpp+1−1
@@ -60,7 +60,7 @@ void WelsI16x16LumaPredH_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStrid · 59 unmodified lines
60#ifdef _MSC_VER60#ifdef _MSC_VER
61 const uint64_t kuiV64 = (uint64_t) (0x0101010101010101U * kuiSrc8);61 const uint64_t kuiV64 = (uint64_t) (0x0101010101010101U * kuiSrc8);
62#else62#else
63 const uint64_t kuiV64 = (uint64_t) (0x0101010101010101LL * kuiSrc8);63 const uint64_t kuiV64 = (uint64_t) (0x0101010101010101ULL * kuiSrc8);
64#endif64#endif
65 ST64 (&pPred[iPredStridex15], kuiV64);65 ST64 (&pPred[iPredStridex15], kuiV64);
66 ST64 (&pPred[iPredStridex15 + 8], kuiV64);66 ST64 (&pPred[iPredStridex15 + 8], kuiV64);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t