notmuch_database_status_string is const in notmuch.h

Signed-off-by: Nicolas PARLANT <[email protected]>
---
 test/T560-lib-error.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh
index 78cae1cd..fbb1709c 100755
--- a/test/T560-lib-error.sh
+++ b/test/T560-lib-error.sh
@@ -183,7 +183,7 @@ int main (int argc, char** argv)
    }
    stat = notmuch_database_index_file (db, "./nonexistent", NULL, NULL);
    if (stat) {
-       char *status_string = notmuch_database_status_string (db);
+       const char *status_string = notmuch_database_status_string (db);
        if (status_string) fputs (status_string, stderr);
    }
 }
-- 
2.52.0

_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to