diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-01-27 04:10:24 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-01-27 04:10:24 +0000 |
commit | 9eaf8403c48a4ef59415b8546667da3a8527446d (patch) | |
tree | 27fcc13cfa1c51779019fca53b64af3d62140d1f | |
parent | f90d3f511744caad31787f5f5a38577c8f9c15de (diff) | |
parent | c4b527789b1c328ae88753226862451d8d6fe318 (diff) | |
download | platform_sdk-9eaf8403c48a4ef59415b8546667da3a8527446d.tar.gz platform_sdk-9eaf8403c48a4ef59415b8546667da3a8527446d.tar.bz2 platform_sdk-9eaf8403c48a4ef59415b8546667da3a8527446d.zip |
Snap for 5262136 from c4b527789b1c328ae88753226862451d8d6fe318 to qt-release
Change-Id: I6243a614b49bde164be6a7a4e537a961a989d7db
-rwxr-xr-x | find_java2/src/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/find_java2/src/utils.cpp b/find_java2/src/utils.cpp index 7f4aa02bc..7c8c66b67 100755 --- a/find_java2/src/utils.cpp +++ b/find_java2/src/utils.cpp @@ -219,7 +219,7 @@ int execWait(const TCHAR *cmd) { bool getModuleDir(CPath *outDir) {
TCHAR programDir[MAX_PATH];
- int ret = GetModuleFileName(NULL, programDir, sizeof(programDir) * sizeof(TCHAR));
+ int ret = GetModuleFileName(NULL, programDir, sizeof(programDir) / sizeof(programDir[0]));
if (ret != 0) {
CPath dir(programDir);
dir.RemoveFileSpec();
|