win/ntfs: remove unused variable and have ntfssect use char API calls
commitb22a1fdc5458cffc08a387eccd5d30e7ed74a9bb
authorPete Batard <pete@akeo.ie>
Wed, 2 Mar 2016 11:45:12 +0000 (2 06:45 -0500)
committerGene Cumm <gene.cumm@gmail.com>
Wed, 9 Mar 2016 11:33:58 +0000 (9 06:33 -0500)
treedf7d33b036ed52b3123ceacd15152fec46b97310
parent1ac927d131d088e07320942d29f65208c34f08c8
win/ntfs: remove unused variable and have ntfssect use char API calls

The variable 'ok' is never used and generates a warning. Remove it.
Also ntfssect.c is designed to be compiled in non Unicode mode when
using MSVC compilers, so remove all ambiguity about it
(LPCTSTR -> LPCSTR, use of 'A' API calls) so that it doesn't break when
compiled in Unicode mode, which is what Rufus uses with MSVC.

Signed-off-by: Pete Batard <pete@akeo.ie>
win/ntfssect.c
win/ntfssect.h