Browse code

Fix warning message

git-svn: trunk@2865

Nigel Horne authored on 2007/02/25 19:24:24
Showing 1 changed files
... ...
@@ -968,7 +968,7 @@ pst_load_extended_attributes(pst_file *pf)
968 968
 	memcpy(wt, &(headerbuffer[xattrib.extended+sizeof(tint)]), tint);
969 969
 	ptr->data = _pst_wide_to_single(wt, tint);
970 970
 	free(wt);
971
-	cli_dbgmsg("(converted from UTF-16): %s\n", ptr->data);
971
+	cli_dbgmsg("(converted from UTF-16): %s\n", (const char *)ptr->data);
972 972
       } else {
973 973
 	cli_dbgmsg("Cannot read outside of buffer [%i !< %i]\n", xattrib.extended, hsize);
974 974
       }