From c5733d2e19f5de783e776dce05bd48f1a9e99c90 Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 14 Dec 2020 11:07:33 +0100 Subject: issue #8247 declaration different in cpp and h file of qstrncmp argument names of source and destination were in h file switched compared to the cpp file, no harm done it are just names in the prototype but it is confusing. --- qtools/qcstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtools/qcstring.h b/qtools/qcstring.h index 0f3f932..75bdf29 100644 --- a/qtools/qcstring.h +++ b/qtools/qcstring.h @@ -58,7 +58,7 @@ inline char *cstrcpy( char *dst, const char *src ) inline char *qstrcpy( char *dst, const char *src ) { return src ? strcpy(dst, src) : 0; } -char * qstrncpy(char *src,const char *dst, uint len); +char * qstrncpy(char *dst,const char *src, uint len); inline int cstrcmp( const char *str1, const char *str2 ) { return strcmp(str1,str2); } -- cgit v0.12