Commit 0efcf68
committed
Fixed the following warnings:
- C:\projects\shellanything\src\shellext.cpp(632): warning C4311: 'type cast': pointer truncation from 'LPCSTR' to 'int'
- C:\projects\shellanything\test\TestWin32Registry.cpp(200): warning C4477: 'sprintf' : format string '%03d' requires an argument of type 'int', but variadic argument 1 has type 'std::size_t' [C:\projects\shellanything\build\test\shellanything_unittest.vcxproj] C:\projects\shellanything\test\TestWin32Registry.cpp(200): note: consider using '%zd' in the format string
- C:\projects\shellanything\test\TestWin32Registry.cpp(246): warning C4477: 'sprintf' : format string '%03d' requires an argument of type 'int', but variadic argument 1 has type 'std::size_t' [C:\projects\shellanything\build\test\shellanything_unittest.vcxproj] C:\projects\shellanything\test\TestWin32Registry.cpp(246): note: consider using '%zd' in the format string
Note: the modified code does not show as warnings on VS2010.1 parent 3adf82c commit 0efcf68
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
| 632 | + | |
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| |||
0 commit comments