summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/libgadu
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-15 16:44:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-15 16:44:52 +0000
commit4649bcfc2b1cbbe2f004d7bec963a7528866c072 (patch)
treec6619f8f08266c740dc4e9783396f4f614319e1f /protocols/Gadu-Gadu/libgadu
parent43691e8134fab2a55243607b2047c2fb3f3ee04b (diff)
z całym szacunkiem dla naszych polskich użytkowników
git-svn-id: http://svn.miranda-ng.org/main/trunk@977 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/libgadu')
-rw-r--r--protocols/Gadu-Gadu/libgadu/libgadu.h4
-rw-r--r--protocols/Gadu-Gadu/libgadu/pthread.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/libgadu/libgadu.h b/protocols/Gadu-Gadu/libgadu/libgadu.h
index 08d8bb6912..d273d998e1 100644
--- a/protocols/Gadu-Gadu/libgadu/libgadu.h
+++ b/protocols/Gadu-Gadu/libgadu/libgadu.h
@@ -690,7 +690,7 @@ int gg_send_message_ctcp(struct gg_session *sess, int msgclass, uin_t recipient,
int gg_ping(struct gg_session *sess);
int gg_userlist_request(struct gg_session *sess, char type, const char *request);
int gg_image_request(struct gg_session *sess, uin_t recipient, int size, uint32_t crc32);
-int gg_image_reply(struct gg_session *sess, uin_t recipient, const char *filename, const char *image, int size);
+int gg_image_reply(struct gg_session *sess, uin_t recipient, const TCHAR *filename, const char *image, int size);
int gg_typing_notification(struct gg_session *sess, uin_t recipient, int length);
uint32_t gg_crc32(uint32_t crc, const unsigned char *buf, int len);
@@ -848,7 +848,7 @@ struct gg_event_msg {
uin_t sender; /**< Numer nadawcy/odbiorcy */
int msgclass; /**< Klasa wiadomości */
time_t time; /**< Czas nadania */
- unsigned char *message; /**< Treść wiadomości */
+ char *message; /**< Treść wiadomości */
int recipients_count; /**< Liczba odbiorców konferencji */
uin_t *recipients; /**< Odbiorcy konferencji */
diff --git a/protocols/Gadu-Gadu/libgadu/pthread.c b/protocols/Gadu-Gadu/libgadu/pthread.c
index 2496bb4964..9a8988a358 100644
--- a/protocols/Gadu-Gadu/libgadu/pthread.c
+++ b/protocols/Gadu-Gadu/libgadu/pthread.c
@@ -44,7 +44,7 @@ int pthread_detach(pthread_t *tid)
/* wait for thread termination */
int pthread_join(pthread_t *tid, void **value_ptr)
{
- if(tid->dwThreadId == GetCurrentThreadId())
+ if (tid->dwThreadId == GetCurrentThreadId())
return 35 /*EDEADLK*/;
WaitForSingleObject(tid->hThread, INFINITE);