From 10f6953a48c48d7ab966b485ff6aab828759724f Mon Sep 17 00:00:00 2001 From: John Ellson Date: Tue, 29 Oct 2019 13:13:20 -0400 Subject: [PATCH] more [-Wparentheses] --- lib/gvc/gvdevice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/gvc/gvdevice.c b/lib/gvc/gvdevice.c index 968c67483..bc5e5fd06 100644 --- a/lib/gvc/gvdevice.c +++ b/lib/gvc/gvdevice.c @@ -263,7 +263,8 @@ int gvferror (FILE* stream) size_t gvfwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream) { - assert(size = sizeof(char)); + size = sizeof(char); + assert(size); return gvwrite((GVJ_t*)stream, ptr, nmemb); } -- 2.40.0