summaryrefslogtreecommitdiff
path: root/src/htssafe.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-05-04 14:57:41 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-05-04 14:57:41 +0000
commitba35564fac5cf46b6c319782e7982ea2cd4bc1b0 (patch)
treeaefa2ec45f31afd068c2cad8e9dd9eaff33e80a6 /src/htssafe.h
parent0db2125bdcf2c6eb9eb7030ad9421790faaf59b5 (diff)
Fixed hidden type.
Diffstat (limited to 'src/htssafe.h')
-rw-r--r--src/htssafe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htssafe.h b/src/htssafe.h
index c260176..33a3490 100644
--- a/src/htssafe.h
+++ b/src/htssafe.h
@@ -117,7 +117,7 @@ static HTS_UNUSED void abortf_(const char *exp, const char *file, int line) {
* If "A" is a char[] variable whose size is not sizeof(char*), then the size
* is assumed to be the capacity of this array.
*/
-#define strcpybuff(A, B) strcatbuff(clear_buffer_(A), B)
+#define strcpybuff(A, B) (clear_buffer_(A), strcatbuff(A, B))
static HTS_INLINE HTS_UNUSED size_t strlen_safe_(const char *source, const size_t sizeof_source,
const char *file, int line) {