Fix type mismatch with GCC

This commit is contained in:
Jonathan Schleifer 2020-04-06 01:10:19 +02:00
parent 35258cb6c3
commit 86ced1769a
No known key found for this signature in database
GPG key ID: E2BCCE6B35E1AF8B
10 changed files with 23 additions and 23 deletions

View file

@ -1,4 +1,4 @@
AC_INIT(ObjOpenSSL, 0.1, js@heap.zone) AC_INIT(ObjOpenSSL, 0.1, js@nil.im)
AC_CONFIG_SRCDIR(src) AC_CONFIG_SRCDIR(src)
AC_CONFIG_AUX_DIR(build-aux) AC_CONFIG_AUX_DIR(build-aux)

View file

@ -1,7 +1,7 @@
/* /*
* Copyright (c) 2011, Jonathan Schleifer <js@heap.zone> * Copyright (c) 2011, Jonathan Schleifer <js@nil.im>
* *
* https://heap.zone/git/objopenssl.git * https://git.nil.im/objopenssl.git
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above

View file

@ -1,7 +1,7 @@
/* /*
* Copyright (c) 2016, Jonathan Schleifer <js@heap.zone> * Copyright (c) 2016, Jonathan Schleifer <js@nil.im>
* *
* https://heap.zone/git/objopenssl.git * https://git.nil.im/objopenssl.git
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above

View file

@ -1,7 +1,7 @@
/* /*
* Copyright (c) 2016, Jonathan Schleifer <js@heap.zone> * Copyright (c) 2016, Jonathan Schleifer <js@nil.im>
* *
* https://heap.zone/git/objopenssl.git * https://git.nil.im/objopenssl.git
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above

View file

@ -1,8 +1,8 @@
/* /*
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de> * Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
* Copyright (c) 2013, Jonathan Schleifer <js@heap.zone> * Copyright (c) 2013, Jonathan Schleifer <js@nil.im>
* *
* https://heap.zone/git/objopenssl.git * https://git.nil.im/objopenssl.git
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above

View file

@ -1,8 +1,8 @@
/* /*
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de> * Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
* Copyright (c) 2012, 2013, 2016, Jonathan Schleifer <js@heap.zone> * Copyright (c) 2012, 2013, 2016, Jonathan Schleifer <js@nil.im>
* *
* https://heap.zone/git/objopenssl.git * https://git.nil.im/objopenssl.git
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above

View file

@ -1,8 +1,8 @@
/* /*
* Copyright (c) 2011, 2013, 2015, Jonathan Schleifer <js@heap.zone> * Copyright (c) 2011, 2013, 2015, Jonathan Schleifer <js@nil.im>
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de> * Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
* *
* https://heap.zone/git/objopenssl.git * https://git.nil.im/objopenssl.git
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above

View file

@ -1,10 +1,10 @@
/* /*
* Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 * Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020
* Jonathan Schleifer <js@heap.zone> * Jonathan Schleifer <js@nil.im>
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de> * Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
* Copyright (c) 2011, Jos Kuijpers <jos@kuijpersvof.nl> * Copyright (c) 2011, Jos Kuijpers <jos@kuijpersvof.nl>
* *
* https://heap.zone/git/objopenssl.git * https://git.nil.im/objopenssl.git
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
@ -144,15 +144,15 @@ lockingCallback(int mode, int n, const char *file, int line)
[super dealloc]; [super dealloc];
} }
- (void)socket: (OF_KINDOF(OFTCPSocket *))sock - (void)socket: (OFTCPSocket *)sock
didConnectToHost: (OFString *)host didConnectToHost: (OFString *)host
port: (uint16_t)port port: (uint16_t)port
exception: (id)exception exception: (id)exception
{ {
if (exception == nil) { if (exception == nil) {
@try { @try {
[sock SSL_startTLSWithExpectedHost: _host [(SSLSocket *)sock SSL_startTLSWithExpectedHost: _host
port: _port]; port: _port];
} @catch (id e) { } @catch (id e) {
exception = e; exception = e;
} }

View file

@ -1,8 +1,8 @@
/* /*
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de> * Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
* Copyright (c) 2013, 2016, Jonathan Schleifer <js@heap.zone> * Copyright (c) 2013, 2016, Jonathan Schleifer <js@nil.im>
* *
* https://heap.zone/git/objopenssl.git * https://git.nil.im/objopenssl.git
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above

View file

@ -1,8 +1,8 @@
/* /*
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de> * Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
* Copyright (c) 2011, 2012, 2013, 2015, Jonathan Schleifer <js@heap.zone> * Copyright (c) 2011, 2012, 2013, 2015, Jonathan Schleifer <js@nil.im>
* *
* https://heap.zone/git/objopenssl.git * https://git.nil.im/objopenssl.git
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above