1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Fix various typos in comments. Closes #2888

This commit is contained in:
nnposter
2024-08-16 02:40:23 +00:00
parent efa0dc36f2
commit cefa051cfc
5 changed files with 7 additions and 7 deletions

View File

@@ -70,12 +70,12 @@
#include "nbase.h"
#include <assert.h>
/* Arithmatic difference modulo 2^32 */
/* Arithmetic difference modulo 2^32 */
#ifndef MOD_DIFF
#define MOD_DIFF(a,b) ((u32) (MIN((u32)(a) - (u32 ) (b), (u32 )(b) - (u32) (a))))
#endif
/* Arithmatic difference modulo 2^16 */
/* Arithmetic difference modulo 2^16 */
#ifndef MOD_DIFF_USHORT
#define MOD_DIFF_USHORT(a,b) ((MIN((unsigned short)((unsigned short)(a) - (unsigned short ) (b)), (unsigned short) ((unsigned short )(b) - (unsigned short) (a)))))
#endif