From 13ba4af42b25ce8fb62e4549e9433450be3c4ed4 Mon Sep 17 00:00:00 2001 From: snoppy Date: Tue, 16 Apr 2024 18:45:28 +0800 Subject: [PATCH] chore: fix typos --- src/3rdparty/adl/adl_structures.h | 6 +++--- src/3rdparty/hwloc/src/bitmap.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/3rdparty/adl/adl_structures.h b/src/3rdparty/adl/adl_structures.h index f05a1d99..e3d6ae3e 100644 --- a/src/3rdparty/adl/adl_structures.h +++ b/src/3rdparty/adl/adl_structures.h @@ -1269,7 +1269,7 @@ typedef struct ADLActivatableSource int iNumActivatableSources; /// The bit mask identifies the number of bits ActivatableSourceValue is using. (Not currnetly used) int iActivatableSourceMask; - /// The bit mask identifies the status. (Not currnetly used) + /// The bit mask identifies the status. (Not currently used) int iActivatableSourceValue; } ADLActivatableSource, *LPADLActivatableSource; @@ -1669,10 +1669,10 @@ typedef struct ADLSLSTarget /// The target ID ADLDisplayTarget displayTarget; - /// Target postion X in SLS grid + /// Target position X in SLS grid int iSLSGridPositionX; - /// Target postion Y in SLS grid + /// Target position Y in SLS grid int iSLSGridPositionY; /// The view size width, height and rotation angle per SLS Target diff --git a/src/3rdparty/hwloc/src/bitmap.c b/src/3rdparty/hwloc/src/bitmap.c index cf071edb..68d77a5d 100644 --- a/src/3rdparty/hwloc/src/bitmap.c +++ b/src/3rdparty/hwloc/src/bitmap.c @@ -177,7 +177,7 @@ hwloc_bitmap_realloc_by_ulongs(struct hwloc_bitmap_s * set, unsigned needed_coun /* realloc until it contains at least cpu+1 bits */ #define hwloc_bitmap_realloc_by_cpu_index(set, cpu) hwloc_bitmap_realloc_by_ulongs(set, ((cpu)/HWLOC_BITS_PER_LONG)+1) -/* reset a bitmap to exactely the needed size. +/* reset a bitmap to exactly the needed size. * the caller must reinitialize all ulongs and the infinite flag later. */ static int