Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:N
libdmtx
libdmtx-explicit-cast.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libdmtx-explicit-cast.patch of Package libdmtx
From a3e539a3e1c1076c7b96ad306f0883f9b363eb60 Mon Sep 17 00:00:00 2001 From: Mike Laughton <mike@dragonflylogic.com> Date: Sun, 21 Aug 2011 22:48:33 -0500 Subject: [PATCH] Added explicit cast for strlen --- test/simple_test/simple_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/simple_test/simple_test.c b/test/simple_test/simple_test.c index 294701e..fa50968 100644 --- a/test/simple_test/simple_test.c +++ b/test/simple_test/simple_test.c @@ -34,7 +34,7 @@ main(int argc, char *argv[]) enc = dmtxEncodeCreate(); assert(enc != NULL); - dmtxEncodeDataMatrix(enc, strlen(str), str); + dmtxEncodeDataMatrix(enc, strlen((const char *)str), str); /* 2) COPY the new image data before releasing encoding memory */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor