+2000-10-16 Ezra Peisach <epeisach@mit.edu>
+
+ * sim_server.c: Cast to int strings width arguments in printf.
+
Tue Sep 26 18:16:33 2000 Ezra Peisach <epeisach@mit.edu>
* sim_server.c: Warnigs cleanup of signed vs. unsigned arguments
com_err(PROGNAME, retval, "while verifying SAFE message");
exit(1);
}
- printf("Safe message is: '%.*s'\n", message.length, message.data);
+ printf("Safe message is: '%.*s'\n", (int) message.length, message.data);
krb5_free_data_contents(context, &message);
com_err(PROGNAME, retval, "while verifying PRIV message");
exit(1);
}
- printf("Decrypted message is: '%.*s'\n", message.length, message.data);
+ printf("Decrypted message is: '%.*s'\n", (int) message.length,
+ message.data);
krb5_auth_con_free(context, auth_context);
krb5_free_context(context);