While a random USB port is likely fine for charging your phone, the risk is not zero. For extra safety, you can take a few extra steps.
Your laptop's USB-C ports look alike, but they might work very differently.