[anjuta] subversion: Fix pointer size problems on gcc 4.5.3 and newer



commit c7bfc911a5eb3f7ab052b39db0537fa8f1ccf4a8
Author: Pavel <rawlik list ru>
Date:   Mon Apr 30 00:55:41 2012 -0700

    subversion: Fix pointer size problems on gcc 4.5.3 and newer
    
    Fixes bgo 675038

 plugins/subversion/svn-command.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/subversion/svn-command.c b/plugins/subversion/svn-command.c
index 1ef4801..13d5991 100644
--- a/plugins/subversion/svn-command.c
+++ b/plugins/subversion/svn-command.c
@@ -152,7 +152,7 @@ simple_prompt (SimplePromptArgs *args)
 	{
 		case GTK_RESPONSE_OK:
 		{
-			*args->cred = apr_pcalloc (args->pool, sizeof(*(args->cred)));
+			*args->cred = apr_pcalloc (args->pool, sizeof(svn_auth_cred_simple_t));
 			(*(args->cred))->may_save = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON
 															       (remember_pwd));
 			(*(args->cred))->username = apr_pstrdup (args->pool,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]