diff options
author | Brian Paul <brianp@vmware.com> | 2016-04-25 15:58:10 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2016-04-27 10:23:19 -0600 |
commit | 419e3865713efc17bf48213154c5a96eaaa89443 (patch) | |
tree | 93a8bc2746728337b9a7322e69c2dafc0ac27688 | |
parent | d902504a677d39ace99b1f34a7a4d06d644dfb3d (diff) | |
download | external_mesa3d-419e3865713efc17bf48213154c5a96eaaa89443.zip external_mesa3d-419e3865713efc17bf48213154c5a96eaaa89443.tar.gz external_mesa3d-419e3865713efc17bf48213154c5a96eaaa89443.tar.bz2 |
os: s/Elements/ARRAY_SIZE/
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
-rw-r--r-- | src/gallium/auxiliary/os/os_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/os/os_process.c b/src/gallium/auxiliary/os/os_process.c index d2dcd0d..332e195 100644 --- a/src/gallium/auxiliary/os/os_process.c +++ b/src/gallium/auxiliary/os/os_process.c @@ -68,7 +68,7 @@ os_get_process_name(char *procname, size_t size) char *lpProcessName; char *lpProcessExt; - GetModuleFileNameA(NULL, szProcessPath, Elements(szProcessPath)); + GetModuleFileNameA(NULL, szProcessPath, ARRAY_SIZE(szProcessPath)); lpProcessName = strrchr(szProcessPath, '\\'); lpProcessName = lpProcessName ? lpProcessName + 1 : szProcessPath; |