Quellcode durchsuchen

Add note about Windows LONG

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)
Hugo Landau vor 1 Jahr
Ursprung
Commit
a2c61e4143
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      crypto/threads_win.c

+ 1 - 0
crypto/threads_win.c

@@ -262,6 +262,7 @@ int CRYPTO_atomic_load_int(int *val, int *ret, CRYPTO_RWLOCK *lock)
 
     return 1;
 #else
+    /* On Windows, LONG is always the same size as int. */
     *ret = (int)InterlockedOr((LONG volatile *)val, 0);
     return 1;
 #endif