strgfnhandler: fixup c-style cast

[strgfnhandler.cpp:29]: (style) C-style pointer casting

Change-Id: I12082f872362c913ecf0ad5abdcee0d1dfbc86e9
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/strgfnhandler.cpp b/strgfnhandler.cpp
index 63e9bd6..c4e4c58 100644
--- a/strgfnhandler.cpp
+++ b/strgfnhandler.cpp
@@ -26,7 +26,7 @@
     const char* mode = NULL;
 
     // From the payload, extract the header that has fruid and the offsets
-    write_fru_data_t* reqptr = (write_fru_data_t*)request;
+    auto reqptr = static_cast<write_fru_data_t*>(request);
 
     // Maintaining a temporary file to pump the data
     sprintf(fru_file_name, "%s%02x", "/tmp/ipmifru", reqptr->frunum);