diff options
Diffstat (limited to 'innobase/include/mem0mem.ic')
-rw-r--r-- | innobase/include/mem0mem.ic | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/innobase/include/mem0mem.ic b/innobase/include/mem0mem.ic index 82d88099c3f..28562f7c9f8 100644 --- a/innobase/include/mem0mem.ic +++ b/innobase/include/mem0mem.ic @@ -371,8 +371,7 @@ mem_heap_free_top( /********************************************************************* NOTE: Use the corresponding macros instead of this function. Creates a memory heap which allocates memory from dynamic space. For debugging -purposes, takes also the file name and line as argument in the debug -version. */ +purposes, takes also the file name and line as argument. */ UNIV_INLINE mem_heap_t* mem_heap_create_func( @@ -623,7 +622,7 @@ mem_strdupq( } *d++ = q; *d++ = '\0'; - ut_ad(len == d - dst); + ut_ad((ssize_t) len == d - dst); return(dst); } |