client: fix minor bug in my previous commit - the cast should be to unsigned long, not signed long.

This commit is contained in:
Charlie Fenton 2014-09-15 06:40:26 -07:00
parent eb24b43bca
commit bcb15ea355
1 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ void OPENCL_DEVICE_PROP::write_xml(MIOFILE& f, const char* tag, bool temp_file)
tag,
name,
vendor,
(long)vendor_id,
(unsigned long)vendor_id,
available ? 1 : 0,
half_fp_config,
single_fp_config,
@ -76,8 +76,8 @@ void OPENCL_DEVICE_PROP::write_xml(MIOFILE& f, const char* tag, bool temp_file)
extensions,
global_mem_size,
local_mem_size,
(long)max_clock_frequency,
(long)max_compute_units,
(unsigned long)max_clock_frequency,
(unsigned long)max_compute_units,
opencl_platform_version,
opencl_device_version,
opencl_driver_version