~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to src/xauth.c

  • Committer: Robert Ancell
  • Date: 2011-05-24 05:36:07 UTC
  • Revision ID: robert.ancell@canonical.com-20110524053607-deq6tughtivbx5se
Fix compile warning

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
guchar *
71
71
xauth_copy_authorization_data (XAuthorization *auth)
72
72
{
73
 
    gchar *data = g_malloc (auth->priv->authorization_data_length);
 
73
    guchar *data = g_malloc (auth->priv->authorization_data_length);
74
74
    memcpy (data, auth->priv->authorization_data, auth->priv->authorization_data_length);
75
75
    return data;
76
76
}