Un-constify struct errinfo's msg field because it is the owner of that
authorGreg Hudson <ghudson@mit.edu>
Sun, 1 Nov 2009 21:51:26 +0000 (21:51 +0000)
committerGreg Hudson <ghudson@mit.edu>
Sun, 1 Nov 2009 21:51:26 +0000 (21:51 +0000)
memory (even though the memory is intended to be immutable during its
lifetime).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23116 dc483132-0cff-0310-8789-dd5450dbe970

src/include/k5-err.h

index 4259ce682d7ceb64e0054be22584314ced3207d4..463125b2c2f24a83c5897fc04170ac44ab35f42c 100644 (file)
@@ -46,7 +46,7 @@
 
 struct errinfo {
     long code;
-    const char *msg;
+    char *msg;
     char scratch_buf[1024];
 };