Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: Source/platform/audio/DenormalDisabler.h

Issue 207783002: Omit "int" when using "unsigned" modifier (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/audio/AudioPullFIFO.h ('k') | Source/platform/graphics/gpu/WebGLImageConversion.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/DenormalDisabler.h
diff --git a/Source/platform/audio/DenormalDisabler.h b/Source/platform/audio/DenormalDisabler.h
index 802cb73c864f4af1be79372f19146f497deef894..d953c82138ad636c838e0a1916b07c16dff3321e 100644
--- a/Source/platform/audio/DenormalDisabler.h
+++ b/Source/platform/audio/DenormalDisabler.h
@@ -53,7 +53,7 @@ public:
//
// http://stackoverflow.com/questions/637175/possible-bug-in-controlfp-s-may-not-restore-control-word-correctly
_controlfp_s(&m_savedCSR, 0, 0);
- unsigned int unused;
+ unsigned unused;
_controlfp_s(&unused, _DN_FLUSH, _MCW_DN);
#else
m_savedCSR = getCSR();
@@ -64,7 +64,7 @@ public:
~DenormalDisabler()
{
#if OS(WIN) && COMPILER(MSVC)
- unsigned int unused;
+ unsigned unused;
_controlfp_s(&unused, m_savedCSR, _MCW_DN);
#else
setCSR(m_savedCSR);
@@ -100,7 +100,7 @@ private:
#endif
- unsigned int m_savedCSR;
+ unsigned m_savedCSR;
};
#else
« no previous file with comments | « Source/platform/audio/AudioPullFIFO.h ('k') | Source/platform/graphics/gpu/WebGLImageConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698