From: c vw Date: Sun, 5 Dec 2021 11:42:08 +0000 (+0100) Subject: another typo X-Git-Url: https://git.rkrishnan.org/listings/vdrive/index.php?a=commitdiff_plain;h=95e5f8a898c181337f9b642fbe141c56f79e85b6;p=pihpsdr.git another typo --- diff --git a/client_server.h b/client_server.h index 9f7b3b9..c3a1ec0 100644 --- a/client_server.h +++ b/client_server.h @@ -30,7 +30,7 @@ // Assume that double data is between -200 and 200, // convert to uint16 via uint16 = 100.0*(double+200.0) (result in the range 0 to 40000) // -#define htond(X) htons((uint16_6) ((X+200.0)*100.0) ) +#define htond(X) htons((uint16_t) ((X+200.0)*100.0) ) #define ntohd(X) 0.01*ntohs(X)-200.0 typedef enum {