[clinfo] 04/30: Format fixes
Andreas Beckmann
anbe at moszumanska.debian.org
Tue Apr 28 12:53:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository clinfo.
commit 209ebf0453ded18858d45d4895993f4f85b891ff
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date: Tue Nov 18 21:05:14 2014 +0100
Format fixes
---
src/clinfo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/clinfo.c b/src/clinfo.c
index 4ae0be8..bfb28af 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -686,7 +686,7 @@ int device_info_str(cl_device_id dev, cl_device_info param, const char *pname,
DEFINE_DEVINFO_SHOW(int, cl_uint, "%u")
DEFINE_DEVINFO_SHOW(hex, cl_uint, "0x%x")
-DEFINE_DEVINFO_SHOW(long, cl_ulong, "%lu")
+DEFINE_DEVINFO_SHOW(long, cl_ulong, "%" PRIu64)
DEFINE_DEVINFO_SHOW(sz, size_t, "%" PRIuS)
int device_info_bool(cl_device_id dev, cl_device_info param, const char *pname,
@@ -1184,7 +1184,7 @@ int device_info_partition_types_ext(cl_device_id dev, cl_device_info param, cons
case CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT: str_idx = 4; break;
case CL_DEVICE_PARTITION_BY_NAMES_EXT: str_idx = 5; break;
default:
- szval += sprintf(strbuf + szval, "by <unknown> (0x%" PRIXPTR ")", val[cursor]);
+ szval += sprintf(strbuf + szval, "by <unknown> (0x%" PRIX64 ")", val[cursor]);
break;
}
if (str_idx > 0) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/clinfo.git
More information about the Pkg-opencl-commits
mailing list