summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1997-10-19 16:48:50 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1997-10-19 16:48:50 +0000
commitd88dbcf04333f6db039c7accdb26a96e57c82c2b (patch)
tree00c6dfd6ab5d1294c4da0e4906c3fa864f9bff1c /include
parentc38876e36959fefaf75c528197b4660541b4697b (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/arpa/tftp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/arpa/tftp.h b/include/arpa/tftp.h
index 3d3dbf37652c..c88920d4f96f 100644
--- a/include/arpa/tftp.h
+++ b/include/arpa/tftp.h
@@ -51,10 +51,10 @@
#define ERROR 05 /* error code */
struct tftphdr {
- short th_opcode; /* packet type */
+ unsigned short th_opcode; /* packet type */
union {
- short tu_block; /* block # */
- short tu_code; /* error code */
+ unsigned short tu_block; /* block # */
+ unsigned short tu_code; /* error code */
char tu_stuff[1]; /* request packet stuff */
} th_u;
char th_data[1]; /* data or error string */