diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_DropTargetWin32.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_DropTargetWin32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_DropTargetWin32.cpp b/intern/ghost/intern/GHOST_DropTargetWin32.cpp index a38af619662..86483118b3d 100644 --- a/intern/ghost/intern/GHOST_DropTargetWin32.cpp +++ b/intern/ghost/intern/GHOST_DropTargetWin32.cpp @@ -212,13 +212,13 @@ void *GHOST_DropTargetWin32::getDropDataAsFilenames(IDataObject *p_data_object) if (p_data_object->GetData(&fmtetc, &stgmed) == S_OK) { const HDROP hdrop = (HDROP)::GlobalLock(stgmed.hGlobal); - const UINT totfiles = ::DragQueryFileW(hdrop, -1, NULL, 0); + const uint totfiles = ::DragQueryFileW(hdrop, -1, NULL, 0); if (totfiles) { str_array = (GHOST_TStringArray *)::malloc(sizeof(GHOST_TStringArray)); str_array->count = 0; str_array->strings = (uint8_t **)::malloc(totfiles * sizeof(uint8_t *)); - for (UINT nfile = 0; nfile < totfiles; nfile++) { + for (uint nfile = 0; nfile < totfiles; nfile++) { WCHAR fpath[MAX_PATH]; if (::DragQueryFileW(hdrop, nfile, fpath, MAX_PATH) > 0) { char *temp_path; |