From: <ber...@it...> - 2006-01-24 07:53:11
|
Hi, here a patch to compile libsyncml from svn on AMD64-Linux. Best regards Bernd Westermann Index: /home/bernd/test/opensync/libsyncml/libsyncml/sml_support.c =================================================================== --- /home/bernd/test/opensync/libsyncml/libsyncml/sml_support.c (revision 82) +++ /home/bernd/test/opensync/libsyncml/libsyncml/sml_support.c (working copy) @@ -80,11 +80,11 @@ } if (!g_thread_supported ()) g_thread_init (NULL); - int tabs = 0; + long tabs = 0; if (!current_tabs) current_tabs = g_private_new (g_free); else - tabs = (int)g_private_get(current_tabs); + tabs = (long)g_private_get(current_tabs); unsigned long int id = (unsigned long int)pthread_self(); char *logfile = g_strdup_printf("%s/Thread%lu.log", trace, id); |