diff --git a/src/core/SkWriter32.cpp b/src/core/SkWriter32.cpp index 9a05df9114..141f751982 100644 --- a/src/core/SkWriter32.cpp +++ b/src/core/SkWriter32.cpp @@ -55,7 +55,7 @@ void SkWriter32::reset() { void SkWriter32::reset(void* block, size_t size) { this->reset(); - SkASSERT(0 == (fSingleBlock - (char*)0) & 3); // need 4-byte alignment + SkASSERT(0 == ((fSingleBlock - (char*)0) & 3)); // need 4-byte alignment fSingleBlock = (char*)block; fSingleBlockSize = (size & ~3); } diff --git a/vs/SampleApp/SampleApp.vcxproj b/vs/SampleApp/SampleApp.vcxproj index 35f49cf10f..9632d44b23 100644 --- a/vs/SampleApp/SampleApp.vcxproj +++ b/vs/SampleApp/SampleApp.vcxproj @@ -261,8 +261,10 @@ + +