Skip to content

Commit

Permalink
clang tidy 18 fixes readability-redundant-casting (#1262)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteven4 authored Mar 8, 2024
1 parent 1410fc5 commit 10b8fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jeeps/gpssend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ bool GPS_Serial_Send_Ack(gpsdevh* fd, GPS_Packet* tra, GPS_Packet* rec)
{
UC data[2];

GPS_Util_Put_Short(data,(US)rec->type);
GPS_Util_Put_Short(data,rec->type);
GPS_Make_Packet(tra,LINK_ID[0].Pid_Ack_Byte,data,2);
if (!GPS_Write_Packet(fd,*tra)) {
GPS_Error("Error acknowledging packet");
Expand Down

0 comments on commit 10b8fd4

Please sign in to comment.