aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/bits_count_ones.h
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/bits_count_ones.h')
-rw-r--r--wsutil/bits_count_ones.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/bits_count_ones.h b/wsutil/bits_count_ones.h
index 97f8e50226..c194cd3abf 100644
--- a/wsutil/bits_count_ones.h
+++ b/wsutil/bits_count_ones.h
@@ -17,7 +17,7 @@
* The variable-precision SWAR algorithm is an interesting way to count
* the number of bits set in an integer:
*
- * http://playingwithpointers.com/swar.html
+ * https://www.playingwithpointers.com/blog/swar.html
*
* See
*
@@ -28,7 +28,7 @@
*
* See
*
- * https://msdn.microsoft.com/en-us/library/bb385231.aspx
+ * https://docs.microsoft.com/en-us/cpp/intrinsics/popcnt16-popcnt-popcnt64
*
* for MSVC's population count intrinsics.
*