diff options
author | Jiyoung Yun <jy910.yun@samsung.com> | 2016-12-27 16:46:08 +0900 |
---|---|---|
committer | Jiyoung Yun <jy910.yun@samsung.com> | 2016-12-27 16:46:08 +0900 |
commit | db20f3f1bb8595633a7e16c8900fd401a453a6b5 (patch) | |
tree | e5435159cd1bf0519276363a6fe1663d1721bed3 /src/pal/tests/palsuite/c_runtime/_putw | |
parent | 4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (diff) | |
download | coreclr-05d56390f6d6e680c38788a2b7b4cc683b171d77.tar.gz coreclr-05d56390f6d6e680c38788a2b7b4cc683b171d77.tar.bz2 coreclr-05d56390f6d6e680c38788a2b7b4cc683b171d77.zip |
Imported Upstream version 1.0.0.9127upstream/1.0.0.9127
Diffstat (limited to 'src/pal/tests/palsuite/c_runtime/_putw')
-rw-r--r-- | src/pal/tests/palsuite/c_runtime/_putw/test1/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/pal/tests/palsuite/c_runtime/_putw/test1/test1.cpp (renamed from src/pal/tests/palsuite/c_runtime/_putw/test1/test1.c) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pal/tests/palsuite/c_runtime/_putw/test1/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/_putw/test1/CMakeLists.txt index c3018ad322..78833d4e13 100644 --- a/src/pal/tests/palsuite/c_runtime/_putw/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/c_runtime/_putw/test1/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8.12.2) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(SOURCES - test1.c + test1.cpp ) add_executable(paltest_putw_test1 diff --git a/src/pal/tests/palsuite/c_runtime/_putw/test1/test1.c b/src/pal/tests/palsuite/c_runtime/_putw/test1/test1.cpp index ecfc9046ac..02b7cc7a49 100644 --- a/src/pal/tests/palsuite/c_runtime/_putw/test1/test1.c +++ b/src/pal/tests/palsuite/c_runtime/_putw/test1/test1.cpp @@ -26,7 +26,7 @@ const char testFileName[] = "test.dat"; static void Cleanup(HANDLE hFile) { - if (fclose(hFile)) + if (fclose((PAL_FILE*)hFile)) { Trace("_putw: ERROR -> Unable to close file \"%s\".\n", testFileName); |