summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/sasum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/sasum.c b/samples/sasum.c
index 3b20d301..3fdbb0eb 100644
--- a/samples/sasum.c
+++ b/samples/sasum.c
@@ -79,7 +79,7 @@ int main(void) {
clEnqueueReadBuffer(queue, device_output, CL_TRUE, 0, 1*sizeof(float), host_output, 0, NULL, NULL);
// Example completed. See "clblast_c.h" for status codes (0 -> success).
- printf("Completed SASUM with status %d: %d * |%.1lf| = %.1lf\n", status, n, input_value, host_output[0]);
+ printf("Completed SASUM with status %d: %zu * |%.1lf| = %.1lf\n", status, n, input_value, host_output[0]);
// Clean-up
free(platforms);