Skip to content

Commit 2ee7064

Browse files
committed
Muzzle -Wsign-compare warning.
1 parent 8d11429 commit 2ee7064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpuarray_buffer_opencl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ static int cl_memset(gpudata *dst, size_t offset, int data) {
757757
offset, n, val);
758758
}
759759
/* If this assert fires, increase the size of local_kern above. */
760-
assert(r <= sizeof(local_kern));
760+
assert(r <= (int)sizeof(local_kern));
761761
_unused(r);
762762

763763
sz = strlen(local_kern);

0 commit comments

Comments
 (0)